зеркало из https://github.com/mozilla/gecko-dev.git
f79b06a32a
This switches most tests over to use pytest as the runner instead of unittest (taking advantage of the fact that pytest can run unittest based tests). There were a couple tests that had failures when swithing to pytest: config/tests/unit-expandlibs.py xpcom/idl-parser/xpidl/runtests.py For these tests, I added a runwith='unittest' argument so that they still run the same way as before. Once we fix them to use pytest, the unittest logic in mozunit.py can be deleted. MozReview-Commit-ID: Gcsz6z8MeOi --HG-- extra : rebase_source : 3c762422ce0af54cbbe7d9fc20085a2d1ebe7057 |
||
---|---|---|
.. | ||
BrowserTestUtils | ||
MochiKit | ||
chrome | ||
dynamic | ||
embed | ||
manifests | ||
pywebsocket | ||
ssltunnel | ||
static | ||
tests | ||
Makefile.in | ||
README.txt | ||
ShutdownLeaksCollector.jsm | ||
__init__.py | ||
bisection.py | ||
bootstrap.js | ||
browser-harness.xul | ||
browser-test-overlay.xul | ||
browser-test.js | ||
chrome-harness.js | ||
chunkifyTests.js | ||
gen_template.pl | ||
harness.xul | ||
install.rdf | ||
jar.mn | ||
jetpack-addon-harness.js | ||
jetpack-addon-overlay.xul | ||
jetpack-package-harness.js | ||
jetpack-package-overlay.xul | ||
leaks.py | ||
mach_commands.py | ||
mach_test_package_commands.py | ||
manifest.webapp | ||
manifestLibrary.js | ||
mochitest-e10s-utils.js | ||
mochitest_options.py | ||
moz.build | ||
nested_setup.js | ||
pywebsocket_wrapper.py | ||
redirect.html | ||
rungeckoview.py | ||
runrobocop.py | ||
runtests.py | ||
runtestsremote.py | ||
server.js | ||
shutdown-leaks-collector.js | ||
start_desktop.js |
README.txt
See https://developer.mozilla.org/en/docs/Mochitest for detailed information on running and writing mochitests.