QA SoftVision Team/Mobile/Writing tests: Difference between revisions

no edit summary
No edit summary
Line 144: Line 144:
  mAsserter.ok(list != null, "checking that all pages list exists", list.toString()); // tests if  
  mAsserter.ok(list != null, "checking that all pages list exists", list.toString()); // tests if  
  the list is null and if it isn't it prints the list after printing the message of what the test does
  the list is null and if it isn't it prints the list after printing the message of what the test does
= Updating your test directory =
It is not always necessary to rebuild Fennec to use new tests. If you are updating the build with your own test, ensure that your test has been added to the manifest in /PATH/TO/FENNEC/SOURCE/mobile/android/base/tests/robocop.ini .
Otherwise, you can retrieve tests from the repository by executing:
<pre>
hg pull
hg update</pre>
Now you can build the robocop part of Fennec by executing:
<pre>
cd objdir
make -C build/mobile/robocop/
make package </pre>
Confirmed users
905

edits