gecko-dev/testing/xpcshell
Geoff Brown 3160467cf1 Bug 1390599 - 3. Add --verify and --verify-max-time options to xpcshell test harness; r=jmaher
This adds test verification support to the xpcshell test harness. With --verify,
the specified test(s) are run 20 times, then another 20 times in chaos mode.

Tests are run sequentially. I have some interest in running in parallel also,
but this may not be practical: 1. Under normal circumstances, a test does not
run in parallel with itself, so it is arguably an unrealistic mode of operation;
2. Logging fails if it sees a test start after a test with the same name has completed.
2017-08-16 06:55:55 -06:00
..
example Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj 2017-08-04 17:49:22 +09:00
moz-http2 Bug 1367551 - Cancel pushes when we already have the item in cache. r=mayhemer,mcmanus 2017-06-28 10:34:55 -07:00
node-http2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
README
dbg-actors.js Bug 1367235 - Additional changes for eslint on testing/xpcshell; r=Standard8 2017-05-25 07:32:44 -06:00
head.js Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj 2017-08-04 17:49:22 +09:00
mach_commands.py Bug 1390599 - 1. Simplify argument passing in xpcshell test harness; r=jmaher 2017-08-15 09:06:16 -06:00
mach_test_package_commands.py Bug 1347686 - Remove e10s argument from mach xpcshell test runner r=jmaher 2017-03-15 16:52:41 -04:00
moz.build Bug 1326465 - add BUG_COMPONENTS to testing/. r=gbrown,ted 2016-12-30 16:16:56 -05:00
python.ini Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester 2016-11-16 09:59:22 -05:00
remotexpcshelltests.py Bug 1390599 - 3. Add --verify and --verify-max-time options to xpcshell test harness; r=jmaher 2017-08-16 06:55:55 -06:00
runxpcshelltests.py Bug 1390599 - 3. Add --verify and --verify-max-time options to xpcshell test harness; r=jmaher 2017-08-16 06:55:55 -06:00
selftest.py Bug 1390599 - 1. Simplify argument passing in xpcshell test harness; r=jmaher 2017-08-15 09:06:16 -06:00
xpcshellcommandline.py Bug 1390599 - 3. Add --verify and --verify-max-time options to xpcshell test harness; r=jmaher 2017-08-16 06:55:55 -06:00

README

Simple xpcshell-based test harness

converted from netwerk/test/unit

Some documentation at http://developer.mozilla.org/en/docs/Writing_xpcshell-based_unit_tests
See also http://wiki.mozilla.org/SoftwareTesting:Tools:Simple_xpcshell_test_harness