talira

Concise, concurrent test runner for Node.js

open sourceMITfree

AVA is an open source test runner for Node.js, maintained by Mark Wubben and Sindre Sorhus. It runs test files concurrently, each in an isolated environment, with a small API, no implicit globals, promise, async and observable support, and detailed "magic assert" error output. It ships TypeScript definitions, a TAP reporter, and splits test runs across parallel CI jobs automatically.

Problems it solves

  • a fast test runner for my Node.js library that runs tests in parallel
  • isolate each test file so global state doesn't leak between tests
  • split my Node.js test suite across CI jobs

Features

  • runs tests concurrently
  • isolated environment for each test file
  • magic assert with enhanced assertion messages
  • promise, async function and observable support
  • TypeScript definitions included
  • automatic parallel test runs in CI
  • TAP reporter

Alternatives

The same job

These do what AVA does.

  1. Jest Delightful JavaScript Testing
  2. Mocha Feature-rich JavaScript test framework for Node.js and the browser
  3. Cypress AI writes the code. Cypress proves it works.

Compare AVA with the top 3