QA/Automation/Projects/WebAPI: Difference between revisions

Line 76: Line 76:
Running B2G Marionette tests:
Running B2G Marionette tests:
https://developer.mozilla.org/en-US/docs/Marionette/Running_Tests
https://developer.mozilla.org/en-US/docs/Marionette/Running_Tests
==== Marionette Command Line ====
You may want to create a shell script to quickly launch your WebAPI Marionette test right from your workspace folder.  Create a new shell script and copy/paste the line of code below, and put the script in your path. Then with the emulator already running, you can use the script to easily execute your WebAPI test.
python $B2G_HOME/gecko/testing/marionette/client/marionette/runtests.py --emulator arm --address localhost:2828 --homedir $B2G_HOME $1
Confirmed users
372

edits