AVA
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
What AVA is
AVA is a test runner for Node.js. It runs tests concurrently and gives each test file an isolated environment. Tests are JavaScript files that import the test function and make assertions through an execution context. Promises, async functions and observables are supported. The package ships TypeScript definitions. Assertion failures show code excerpts and diffs of actual and expected values. AVA detects parallel build support in CI and splits test files across builds. It includes a TAP reporter, watch mode and snapshot testing. AVA installs locally as a dev dependency and runs through npx or an npm test script, since it cannot run globally.
Written from the project's README, read .
- Category
- Unit testing and test runners
- License
- MIT
- Language
- JavaScript
- Changelog
- Releases on GitHub
Repository metrics
Status
slowLast commit 91 to 365 days before the fetch date.Computed from the last commit date and the archive flag on the fetch date. See the status rules.
Alternatives
Listed unit testing and test runners tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from AVA's, with its source. See also AVA alternatives.
Mocha: Languages for writing tests: JavaScript; TypeScript through Node.js type stripping or a loader such as tsx. source: Docs: TypeScript
Jasmine: Languages for writing tests: JavaScript. source: README
Chai: Languages for writing tests: JavaScript (Node.js and browsers). source: README
tape: Languages for writing tests: JavaScript (Node.js and browsers). source: README
Jest: Languages for writing tests: JavaScript; TypeScript via Babel or ts-jest. source: README
GoogleTest: Languages for writing tests: C++ (the 1.18.x branch requires C++17). source: README
Testify: Languages for writing tests: Go. source: README
Catch2: Languages for writing tests: C++. source: README
How to install
npm init avaQuestions
Is AVA open source?
Yes. AVA is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.
Is AVA maintained?
On 2026-09-22, the last commit to the default branch was on 2026-05-17, so the listed status is slow. Rule: Last commit 91 to 365 days before the fetch date.
How many GitHub stars does AVA have?
20,828 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.
What language is AVA written in?
The repository's primary language, as reported by the GitHub API, is JavaScript.
How do I install AVA?
The README gives this command: npm init ava
Sources
- GitHub REST API: repository, read
- GitHub REST API: commits, read
- GitHub REST API: latest release, read
- GitHub REST API: contributors, read
- README, read