SoftwareTesting: Difference between revisions

Line 37: Line 37:


==Wishlist for xpcshell test harness==
==Wishlist for xpcshell test harness==
* Unbuffered stdout, to get a useful log file even when the test hangs
* Ability to run just a single test (with output to stdout rather than the logfile)
** In particular, ability to run a single test in a debugger
** Maybe as <code>make check TEST=test_authentication.js</code>, or as <code>./testone.sh test_authentication.js</code>
* Ability to mark tests as XFAIL when they are known to fail at the moment
* Ability to mark tests as XFAIL when they are known to fail at the moment
* non-fatal do_check_* (as new functions) to be able to see all the test failures, not just the first one
* non-fatal do_check_* (as new functions) to be able to see all the test failures, not just the first one
* print log file on stdout for failed tests, especially useful when tinderbox runs the tests and one fails


=Tools=
=Tools=
Confirmed users
431

edits