3 ms·
You might want to give ava a spin: https://github.com/avajs/ava/ https://github.com/avajs/ava/ It has a TAP reporter, but more importantly, as opposed to the
by Tade0 3y ago
You might want to give ava a spin:
https://github.com/avajs/ava/ https://github.com/avajs/ava/
It has a TAP reporter, but more importantly, as opposed to the more popular solutions, like Jest, the way it achieves parallelism is explained in the docs and won't change anytime soon, thus preventing wonky, hard to debug errors which occur when this part is abstracted away.
- eyelidlessness 3y agoThe problem with ava (which is great! But it does have problems) is that its concurrency story is deeply tightly coupled to internals you can’t get at, and it misreports timings pretty significantly as a result. It might report single digit millisecond test runs but take about a second to run a full suite anyway, because its concurrency solution has a ton of (unreported) overhead.
- Tade0 3y agoI'll take that any day over Jest's "we won't tell you how we do parallelism because no" and errors which don't reproduce with --runInBand that plagued just about every project I've been to using this framework. Perhaps it's an Angular thing - I don't understand why people keep pushing this combination.