Mocha
Flexible test framework for Node.js and browsers.
LibraryOpen source
Test framework that lets you choose the assertion and mocking libraries, with configurable output.
When to use
In existing Node projects that use Mocha, or when you want to assemble your own tool combination.
When to avoid
In new projects that prefer a complete built-in solution (Vitest, Jest).
Alternatives
They do a similar job. Compare before choosing.
Established JavaScript testing framework.
FrameworkOpen source★ 45.5KVite-native test runner, Jest-compatible.
FrameworkOpen source★ 17.3K
Related
From the same area, with a close purpose.
Tests components the way users use them, not by internal details.
LibraryOpen source★ 19.7KPython's de facto standard test framework.
LibraryOpen source★ 14.7KThe standard test framework for Java and the JVM.
LibraryOpen source★ 7.1KMutation testing: measures whether your tests actually catch bugs.
CLIOpen source★ 3.3K