Mobile/Fennec/Android/Testing: Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Line 88: Line 88:
[https://developer.mozilla.org/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests General xpcshell test information.]
[https://developer.mozilla.org/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests General xpcshell test information.]


Be sure you have successfully built Firefox for Android and generated an APK, as described above. xpcshell tests do not require Firefox for Android to be installed, but the APK must exist on the host.
Pre-requisites:
* Ensure that Firefox for Android has been built: mach build && mach package. xpcshell tests do not require Firefox for Android to be installed, but the APK must exist on the host.
* Ensure your device is connected and visible with "adb devices".


To run all tests referenced by the master xpcshell manifest:
To run all tests referenced by the master xpcshell manifest:
Confirmed users
1,759

edits

Navigation menu