Auto-tools/Projects/Robocop/WritingTests: Difference between revisions

no edit summary
No edit summary
Line 1: Line 1:
Robotium is a test framework created to make it easy to write powerful and robust automatic black-box test cases for Android applications. Robocop provides a wrapper around Robotium making it even easier to write and execute UI tests for native Fennec.
Robotium is a test framework created to make it easy to write powerful and robust automatic black-box test cases for Android applications. Robocop provides a wrapper around Robotium making it even easier to write and execute UI tests for native Fennec.
New tests should probably use the UITest base class - see the documentation at [[Mobile/Fennec/Android/UITest|UITest]]. Most of the information below will also be relevant to users of UITest (though the information should probably be curated).


== Creating a new test ==
== Creating a new test ==
These tests will extend BaseTest.


The best way to create a new Robocop test is to copy and modify an existing one -- see mobile/android/base/tests.
The best way to create a new Robocop test is to copy and modify an existing one -- see mobile/android/base/tests.
Confirmed users
975

edits