gecko-dev/testing/mochitest
Andrew Halberstadt f79b06a32a Bug 1339178 - Use pytest to run python-tests, r=davehunt
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
2017-08-29 14:50:33 -04:00
..
BrowserTestUtils Bug 1379447 - fix intermittent failure in browser_alltabslistener caused by tab hitting about:blank when waiting for page stops, r=dao 2017-07-19 23:17:01 +01:00
MochiKit Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8 2017-04-12 11:10:00 +01:00
chrome Bug 1380470 - Part 2 - Add add_task().skip() and add_task().only() for mochitest-chrome unit tests. r=ahal 2017-07-18 14:42:19 +02:00
dynamic
embed
manifests Bug 1352333 - remove autophone webrtc test manifests, r=dminor. 2017-04-20 14:13:34 -07:00
pywebsocket
ssltunnel Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
static
tests Bug 1339178 - Use pytest to run python-tests, r=davehunt 2017-08-29 14:50:33 -04:00
Makefile.in Bug 1375351 - Part 1: Remove Australis flavor. r=maliu,nalexander,sebastian 2017-08-10 10:19:33 +08:00
README.txt
ShutdownLeaksCollector.jsm Bug 1256472 - Make ShutdownLeaksCollector do more aggressive GCing and CCing to avoid erroneous shutdown leak reports in tests. r=mccr8 2017-03-18 12:48:42 -04:00
__init__.py
bisection.py
bootstrap.js
browser-harness.xul Backed out changeset 6da58c7bb247 (bug 1365649) for frequently failing devtools/client/netmonitor/test/browser_net_simple-request-data.js. r=backout 2017-05-28 11:32:16 +02:00
browser-test-overlay.xul
browser-test.js Bug 1394479: Only override Services.scriptloader for XPCOMUtils. r=florian 2017-08-28 09:51:08 -07:00
chrome-harness.js Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj 2017-08-04 17:49:22 +09:00
chunkifyTests.js
gen_template.pl
harness.xul
install.rdf
jar.mn Bug 1367780 - Additional changes for eslint on testing/firefox-ui,mozbase,profiles,specialpowers; r=Standard8 2017-05-30 16:06:31 -06:00
jetpack-addon-harness.js Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
jetpack-addon-overlay.xul
jetpack-package-harness.js Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
jetpack-package-overlay.xul
leaks.py Bug 1355834 - Report LLVM symbolizer OOMs as errors. r=jgraham 2017-04-12 11:01:24 -07:00
mach_commands.py Bug 1294641 - whitelist reads from the .app directory in the macOS sandbox r=froydnj,haik 2017-04-07 14:53:19 -04:00
mach_test_package_commands.py
manifest.webapp
manifestLibrary.js
mochitest-e10s-utils.js
mochitest_options.py Bug 1386826 - Whitelist the objdir, so _tests gets covered. r=jmaher 2017-08-16 19:03:09 +02:00
moz.build Backed out changeset 07e0c4e4ae85 (bug 1373256) for breaking android tests 2017-06-28 14:47:55 +02:00
nested_setup.js
pywebsocket_wrapper.py
redirect.html Bug 1260312 - Retry mochitest-chrome redirection to improve reliability; r=jmaher 2017-05-19 12:06:14 -06:00
rungeckoview.py Bug 1365636 - Wait for geckoview crash directory to be created; r=jmaher 2017-06-28 16:58:24 -06:00
runrobocop.py Bug 1386816 - Kill any xpcshell or ssltunnel already running at start of tests; r=jmaher 2017-08-29 15:44:18 -06:00
runtests.py Merge m-c to inbound, a=merge 2017-08-29 16:17:13 -07:00
runtestsremote.py Bug 1388883 - Ensure a fresh necko cache for each mochitest and reftest run; r=bc 2017-08-16 06:55:49 -06:00
server.js Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj 2017-08-04 17:49:22 +09:00
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.