gecko-dev/testing/xpcshell
Greg Mierzwinski 5537afe36b Bug 1278649 - Add code coverage to xpcshell tests. r=chmanchester
This adds the ability to use the command line flag '--jscov-dir-prefix' to collect javascript code coverage from xpcshell tests and output it into the specified directory as a JSON file.

MozReview-Commit-ID: 3MZm73SNChL

--HG--
extra : transplant_source : c%9B%DE%A93w%E7%11%89%BE-%E8%D9%18%BC%12z%0A%0E%E4
2016-06-08 09:41:04 -04:00
..
example Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
moz-http2 Bug 1267474 - cache-control: immutable tests 3/3 r=mayhemer 2016-05-05 17:11:02 -04:00
moz-spdy Bug 1241906 - test for suspended spdy3.1 channel r=hurley 2016-02-05 11:17:24 -05:00
node-http2
node-spdy
b2g_xpcshell_venv.sh
dbg-actors.js Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
head.js Bug 1278649 - Add code coverage to xpcshell tests. r=chmanchester 2016-06-08 09:41:04 -04:00
mach_commands.py Bug 1272851 - Use objdir for temporary directory for mach xpcshell-test; r=ted 2016-05-26 11:56:20 -07:00
moz.build Bug 1255588 - Disable selftest.py on 10.7 builders (we now only support running 10.9+). r=jmaher. 2016-05-14 14:03:10 +02:00
README
remotexpcshelltests.py Bug 1240723 - Harmonise xpcshell head- and tail list computation; r=ted.mielczarek 2016-01-19 13:48:53 +00:00
runtestsb2g.py Bug 1207747 - Ensure that logging command line options are always available when running xpcshell tests, r=chmanchester 2015-10-08 10:28:15 +01:00
runxpcshelltests.py Bug 1278649 - Add code coverage to xpcshell tests. r=chmanchester 2016-06-08 09:41:04 -04:00
selftest.py Bug 911216 - Part 24: Use promise rejection tracking to report unhandled rejections to the console. r=bz,Paolo 2016-03-22 16:22:24 +01:00
xpcshell.eslintrc Bug 1251011 - Enable ESLint "no-undef" rule for PSM. r=keeler r=mossop 2016-03-16 16:50:33 -07:00
xpcshellcommandline.py Bug 1278649 - Add code coverage to xpcshell tests. r=chmanchester 2016-06-08 09:41:04 -04:00

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