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!

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

ava alternatives and related libraries

Based on the "Runner" category

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

Add another 'Runner' Library

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 JavaScript.
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!