AVA

github.com ↗

A concurrent test runner for JavaScript projects running on Node.js.

SI Score
80/100
Pricing
Open Source AI reading, not confirmed
Free plan
Not confirmed
Sign-up required
Not confirmed

Ask SI about AVA

Answers use saved listing facts and recorded sources.
Homepage screenshot
Screenshot of the AVA homepage

What it does

AVA is a Node.js test runner whose test files use a small JavaScript API and can execute concurrently in isolated worker processes. This is helpful when a repository has independent unit tests. A team supplies the project code, fixtures, and assertions; AVA discovers and runs the tests but does not provision a browser fleet or deploy the application.

Keep independent tests independent

The AVA project documents a Node-based setup: add the runner to the development dependencies, create test files, and define cases with AVA's test function and assertion methods. A simple first task is to test a pure helper, such as a date formatter, with several inputs and then run AVA from the project scripts. The example is illustrative, not a test run performed for this listing.

AVA can run tests concurrently and uses separate worker processes for test files. That helps when cases are independent, but tests that share a port, mutable external service, or other resource need deliberate isolation. The writing guide also covers asynchronous tests and snapshots, so it can support more than a single assertion per file.

This is a test runner for Node.js code, not a visual test authoring service. Developers still choose meaningful fixtures and maintain the application environment that a test needs. AVA is distributed under the MIT License; its repository and documentation are the primary sources for the workflow.

Strengths

  • Runs independent Node test files concurrently and documents isolated worker processes.
  • The test API supports asynchronous cases and assertions, with snapshot testing also covered in the guide.
  • The official repository is MIT-licensed and keeps workflow documentation alongside the runner.

Watch out for

  • Parallel execution requires care when tests share external state, ports, or mutable resources.
  • AVA runs Node.js tests but does not provide a hosted browser or device farm.

Best for

  • Node.js projects with independent JavaScript test files
  • Teams that want a concurrent runner for unit and asynchronous tests
  • Developers who prefer test code in the same repository as the application

Sources