Mobile/Fennec Unittests/Remote Testing/Examples: Difference between revisions

Jump to navigation Jump to search
 
Line 45: Line 45:
</pre>
</pre>


Now start the tests (replace OBJ with your build directory below). Below we have 10.1.2.3 as the host machine's address and 10.4.5.6 as the VM's address:
Now start the tests (replace OBJ with your build directory below). Below we have 10.1.2.3 as the host machine's address and 10.4.5.6 as the VM's address. We also set --test-path=docshell to speed up the example and make it less likely that the host side times out waiting for fennec to start running the mochitests.


<pre>
<pre>
python OBJ/_tests/testing/mochitest/runtestsremote.py --remote-webserver=10.1.2.3 --deviceIP=10.4.5.6 --remote-app-path=fennec/fennec
python OBJ/_tests/testing/mochitest/runtestsremote.py --remote-webserver=10.1.2.3 --deviceIP=10.4.5.6 --remote-app-path=fennec/fennec --test-path=docshell
</pre>
</pre>


8

edits

Navigation menu