Even though JavaScript is single-threaded, IO in Node.js can happen in parallel due to its async nature. AVA takes advantage of this and runs your tests concurrently, which is especially beneficial for IO heavy tests. In addition, test files are run in parallel as separate processes, giving you even better performance and an isolated environment for each test file. Switching from Mocha to AVA in Pageres brought the test time down from 31 sec to 11 sec. Having tests run concurrently forces you to write atomic tests, meaning tests don't depend on global state or the state of other tests, which is a great thing!

Follow the AVA Twitter account for updates.

Translations: Español, Français, Italiano, 日本語, 한국어, Português, Русский, 简体中文

Code Quality Rank: L4
Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: Promises     Generators     Testing     Node.Js     Java Script     TypeScript     Observable     Await     Async     Promise     Tap     TDD     Test     Mocha     Generator     Unit     CLI     Parallel     Function     Assert     Jasmine     Observables     Yield     Futuristic     Assertion     Cli-app     Qunit     Tape     Fast     Concurrent     Ava     Runner     Snapshot     Babel     Flow     Jest     Expect     🦄    

ava alternatives and related modules

Based on the "Testing" category

Do you think we are missing an alternative of ava or a related project?

Add another 'Testing' Module

ava Recommendations

There are no recommendations yet. Be the first to promote ava!

Have you used ava? Share your experience. Write a short recommendation and ava, you and your project will be promoted on Awesome Node.js.
Recommend ava

Recently added ava resources

Do you know of a usefull tutorial, book or news relevant to ava?
Be the first to add one!