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

Jump to navigation Jump to search
Line 33: Line 33:
If you extend BaseTest, the setUp() and tearDown() are provided for you, but you can still override them and do additional setup/teardown if needed; just make sure you call super.setUp() and super.tearDown() in your overiddes as necessary.
If you extend BaseTest, the setUp() and tearDown() are provided for you, but you can still override them and do additional setup/teardown if needed; just make sure you call super.setUp() and super.tearDown() in your overiddes as necessary.


Finally, add your new test file to the test manifest: mobile/android/base/tests/robocop.ini.
Finally, add your new test file to the test manifest: mobile/android/base/tests/robocop.ini:
<pre>
[testAllPagesTab]
[testHistoryTab]
...
[testMasterPassword]
[testDeviceSearchEngine]
<b>[testMyFeature]</b>
 
</pre>


== Creating a new Content Provider test ==
== Creating a new Content Provider test ==
Confirmed users
1,759

edits

Navigation menu