compare
AVA vs Mocha
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | AVA | Mocha |
|---|---|---|
| Language | JavaScript | JavaScript |
| Licence | MIT | MIT |
| Stars | 21k | 23k |
| Latest | v8.4.0 | v12.0.3 |
| Last push | 2026-11-22 | 2026-11-23 |
| Release cadence | about 4 days between releases | about 11 days between releases |
| Active contributors | 14 commit authors on the default branch in the last 90 days | 17 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
AVA replaces Mocha. Alternatives to Mocha →
Full replacementRuns each test file in its own process, concurrently, with assertions built in.
Mocha replaces AVA. Alternatives to AVA →
PartialJavaScript test runner with a different style, running tests serially by default.
AVA
- v8.4.02026-11-07Report how many snapshots were updated or removed
- v8.3.02026-10-31Avoid re-entry of test finish logic, ensuring teardowns run only once
- v8.2.02026-10-27Improve t.throws message when function doesn't throw
- v8.1.22026-10-23This is a patch release to fix some npm metadata.
- v8.1.12026-10-22This is a patch release to fix some npm metadata. I've included a wider dependency update, but there's no changed funct…
Mocha
- v12.0.32026-10-01keep watching when the last test file is removed (#6355) (921c161)
- v12.0.22026-09-17fail nested tests on beforeEach failure (#6292) (a75b43b)
- v12.0.12026-09-11bump serialize-javascript to ^7.1.1 (#6278) (02558a3)
- v12.0.02026-08-31fixup parsing negative numbers and quoted strings (#6250) (2962875)
- v12.0.0-rc.62026-08-09deps: update dependency starlight-blog to ^0.28.0 (#6153) (6b79044)pre-release
AVA
✓ signed The latest release, v8.4.0, carries a signature GitHub verified.
Loading the security report
Mocha
✓ signed The latest release, v12.0.3, carries a signature GitHub verified.
Loading the security report