Search tools, frameworks, libraries, categories and domains
BDD/TDD assertion library (expect, should, assert) used with Mocha and bundled into Vitest.
npm i chai
Package chai, last 52 weeks.
chai
Other tools in the same categories.
vitest-dev/vitest
Vite-native test runner with a Jest-compatible API and real-browser mode; the default for new projects.
jestjs/jest
Long-standing JavaScript test runner with snapshots and mocking; still huge, though Vitest wins new projects.
mochajs/mocha
Flexible, long-standing Node.js test framework usually paired with Chai and Sinon; common in older codebases.
nodejs.org
Built-in node:test module with mocking, coverage and watch mode; zero-dependency testing for Node libraries.
oven-sh/bun
All-in-one JavaScript runtime, package manager, bundler and test runner focused on speed.
jasmine/jasmine
Batteries-included BDD framework long tied to Angular; declining since Angular moved its default to Vitest.
karma-runner/karma
Browser test launcher formerly standard for Angular; deprecated, migrate to Vitest browser mode or Web Test Runner.
avajs/ava
Node.js test runner that lets you develop with confidence