Mobile/Fennec/Android/Testing: Difference between revisions

Jump to navigation Jump to search
Line 30: Line 30:


== Robocop ==
== Robocop ==
[[Auto-tools/Projects/Robocop|General Robocop information]] and http://mxr.mozilla.org/mozilla-central/source/mobile/android/tests/browser/robocop/README.rst.


The Robocop test suite verifies UI behavior in native Fennec by pointing-and-clicking through the UI on running device or emulator.  It is built on the Robotium testing framework. To run tests locally, a separate Robocop test APK also needs to be installed.
The Robocop test suite verifies UI behavior in native Fennec by pointing-and-clicking through the UI on running device or emulator.  It is built on the Robotium testing framework. To run tests locally, a separate Robocop test APK also needs to be installed.
Line 43: Line 44:
   mach robocop
   mach robocop
   OR mach robocop <test-name>
   OR mach robocop <test-name>
More info at [[Auto-tools/Projects/Robocop|Robocop]] and http://mxr.mozilla.org/mozilla-central/source/mobile/android/tests/browser/robocop/README.rst.


If you make changes to the tests and want to see them run on a device, you need to build the tests again and reinstall.
If you make changes to the tests and want to see them run on a device, you need to build the tests again and reinstall.
Confirmed users
1,759

edits

Navigation menu