ava
ava copied to clipboard
Node.js test runner that lets you develop with confidence 🚀
In examples dir in the ava repo, TestInterface is still used, even though it's now called TestFn --- @novemberborn: in fact all examples are using AVA 3 and need updating:...
[](https://issuehunt.io/r/avajs/ava/issues/928) See: https://github.com/avajs/ava/pull/918#issuecomment-227016238 `after.always` has some issues when used as a cleanup task. Specifically, it won't run if: - There are test failures and `--fail-fast` is used. - There are...
See https://github.com/avajs/ava/pull/2971#issuecomment-1055760695: > I think we should resolve relative to the project directory, likely we're trying to approximate that with `resolve-cwd` but the CWD doesn't have to be the project...
[](https://issuehunt.io/r/avajs/ava/issues/1666) Prompted by #1665 and inspired by Babel's plugin / preset configuration, it'd be neat to do this: ```json "ava": { "require": [ ["@babel/register", { "ignore": ["test/*"] }] ] }...
You can already do this with macros, but it's a bit verbose and complicated. It would be nice to simplify the common case of just running the same test over...
Sometimes you need to skip a test based on a condition, for example, only skip the test when run on Windows. This would be kinda ugly to apply to the...
I don't know much about how Ava is built, this might be just a missing recipe. By following [the coverage recipe](https://github.com/avajs/ava/blob/main/docs/recipes/code-coverage.md) I can generate test coverage reports. My best attempt...
I'm thinking of revisiting #971, but with a twist. Reporting test duration when tests run concurrently can be misleading, since slow, synchronous code in one test also slows down another....
## Description Added a new dep while watch mode was idle and it threw an error. From then on Ava refused to run any test. ### Test Source N/A ###...
Currently the test files support a flat list of tests, each sharing all `before` , `beforeEach`, `afterEach` & `after` hooks. I find it useful to declare nested groups with their...