TestEngineering/Services/Fxa marionettejs: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "As with many projects at Mozilla there are multiple ways to run things, each with their own advantages. QA and Automation Team generally test on Firefox OS using gaia-ui-test...")
 
No edit summary
Line 1: Line 1:
As with many projects at Mozilla there are multiple ways to run things, each with their own advantages.  QA and Automation Team generally test on Firefox OS using gaia-ui-test, a python based on device test command line tool.  Many devs want a lower level test that runs on emulator and works with their current `make` build and test flow.  Enter Marionette.js, which is a JavaScript test case that uses the selenium/webdriver wire protocol which injects JavaScript commands into gaia (the UI layer).  We have two worlds but really looking for the best tools that fit everyone's workflows.
As with many projects at Mozilla there are multiple ways to run things, each with their own advantages.  QA and Automation Team generally test on Firefox OS using gaia-ui-test, a python based on device test command line tool.  Many devs want a lower level test that runs on emulator and works with their current `make` build and test flow.  Enter Marionette.js, which is a JavaScript test case that uses the selenium/webdriver wire protocol which injects JavaScript commands into gaia (the UI layer).  We have two worlds but really looking for the best tools that fit everyone's workflows.


h3. Marionette-js
=== Marionette-js ===


src:
src:
Line 7: Line 7:
https://github.com/mozilla-b2g/marionette-js-client
https://github.com/mozilla-b2g/marionette-js-client


run gaia test here:
run gaia test in an emulator locally:


clone and cd to:
clone and cd to:


  ~/github/mozilla-b2g/gaia
  ~/dev_root/mozilla-b2g/gaia


create profile:
create profile:

Revision as of 21:23, 18 April 2014

As with many projects at Mozilla there are multiple ways to run things, each with their own advantages. QA and Automation Team generally test on Firefox OS using gaia-ui-test, a python based on device test command line tool. Many devs want a lower level test that runs on emulator and works with their current `make` build and test flow. Enter Marionette.js, which is a JavaScript test case that uses the selenium/webdriver wire protocol which injects JavaScript commands into gaia (the UI layer). We have two worlds but really looking for the best tools that fit everyone's workflows.

Marionette-js

src:

https://github.com/mozilla-b2g/marionette-js-client

run gaia test in an emulator locally:

clone and cd to:

~/dev_root/mozilla-b2g/gaia

create profile:

DEBUG=1 DESKTOP=0 make

build and test:

TEST_FILES="./apps/calendar/test/marionette/month_view_test.js" make test-integration-test