Mobile/Fennec/Android/Testing: Difference between revisions

Line 14: Line 14:


== Test Environment ==
== Test Environment ==
When testing Firefox for Android, the test environment usually consists of:
When testing Firefox for Android with make or mach on your local computer, tests run on an Android device, but are controlled by a test harness running on your computer. The test environment usually consists of:
* a "host" computer, running Linux or OSX
* a "host" computer, running Linux or OSX
* an Android device, such as a phone, tablet, or emulator
* a usb-connected Android device, such as a phone or tablet, or an Android emulator running on your computer
* a Firefox for Android build, including an apk
* a Firefox for Android build, including an apk
* "host utilities" -- xpcshell, ssltunnel, and like binaries built for the host
* "host utilities" -- xpcshell, ssltunnel, and like binaries built for the host platform
* a "device manager" to communicate with the Android device
* a "device manager" to communicate with the Android device
* a TCP/IP network connection between host and device
* a TCP/IP network connection between host and device
Confirmed users
1,759

edits