On 6/3/14, 11:17 AM, Joshua Cranmer 🐧 wrote:
I'm used to xpcshell tests more than mochitests, and the biggest difference by far between xpcshell and mocha that I'm aware of is that mocha counts tests at finer granularity: xpcshell tests work on a file-by-file basis, whereas mocha tests work at the level of individual test('Name', function() {}) calls. With the right framework support, this makes it much easier to debug and diagnose single failures
Indeed. I will assert that the current (now old?) xpcshell harness is pretty terrible in terms of usability. It was one of the first harnesses we added and we've learned a lot since then. Basically, my take on the xpcshell tests is that pretty much any change would be an improvement. Our other harnesses are not in that situation, though.
-Boris _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform