WeeklyUpdates/2013-08-19: Difference between revisions

Line 192: Line 192:


=== Automation & Tools ===
=== Automation & Tools ===
The refactored XPCShell harness that supports parallel runs has landed (bug 887054). This means that if you update your tree and run |mach xpcshell-test|, you will be running XPCShell tests in parallel. It is not yet enabled in automation (TBPL), ironing out some intermittent failures that seem to only happen there.
Updated the docs for httpd.js - please use dynamic ports as much as possible.
https://developer.mozilla.org/en-US/docs/Httpd.js/HTTP_server_for_unit_tests#Using_the_server
If you *have* to write a test that cannot be run in parallel, use the new |run-sequential| annotation.
https://developer.mozilla.org/en-US/docs/Writing_xpcshell-based_unit_tests#Adding_conditions_to_a_test
More info about this in the blog post here:
http://www.mihneadb.net/post/run-xpcshell-tests-in-parallel/


=== Security ===
=== Security ===
Confirmed users
35

edits