зеркало из https://github.com/mozilla/gecko-dev.git
4e7776764d
MozReview-Commit-ID: 1SPrw4Vwd3N --HG-- extra : rebase_source : f2218a9ec0ebc3472a964abcca0bd1aa09ed2eb0 |
||
---|---|---|
.. | ||
.eslintrc.js | ||
README.md | ||
test_action.js | ||
test_assert.js | ||
test_browser.js | ||
test_cookie.js | ||
test_dom.js | ||
test_element.js | ||
test_error.js | ||
test_evaluate.js | ||
test_format.js | ||
test_message.js | ||
test_navigate.js | ||
test_prefs.js | ||
test_session.js | ||
test_sync.js | ||
xpcshell.ini |
README.md
To run the tests in this directory, from the top source directory, either invoke the test despatcher in mach:
% ./mach test testing/marionette/test/unit
Or call out the harness specifically:
% ./mach xpcshell-test testing/marionette/test/unit
The latter gives you the --sequential
option which can be useful
when debugging to prevent tests from running in parallel.
When adding new tests you must make sure they are listed in xpcshell.ini, otherwise they will not run on try.