mochajs/mocha

☕️ Classic, reliable, trusted test framework for Node.js and the browser

View on GitHub ↗Jump to charts ↓Open shareable report →

mochajs/mocha has 22k+ stars and 3k+ forks on GitHub, is written in JavaScript, and was last pushed on Oct 12, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on September 2nd, 2026
Created on March 7th, 2011
Open Issues & Pull Requests: 228 (+0)
GitHub issues: Enabled
Number of forks: 3,163
Total Stargazers: 22,891 (+0)
Total Subscribers: 397 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 28.6 hours
Mean response time: 50.9 days
90th percentile: 86.8 days
Tracked items: 549

Maintainer activity

5 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

How this project is maintained

About 5% of issues opened in the past year have never received a reply. 67% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "core-team" is answered fastest, typically in about 15 hours, while "area: reporters" waits about 6 days. 38% of tracked open issues have had no activity in three months. 81% of issues opened in the past year have been closed, leaving a working backlog.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 178
New in 7 days: 5
Closed in 7 days: 16
Avg open age: 1,803 days
Stale 30+ days: 155
Stale 90+ days: 124

Recent activity

Opened in 7 days: 5
Closed in 7 days: 16
Comments in 7 days: 1
Events in 7 days: 9

Top labels

  • status: accepting prs (337)
  • area: repository tooling (181)
  • type: bug (158)
  • status: in triage (98)
  • type: feature (97)
  • area: documentation (75)
  • core-team (65)
  • semver-major (39)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Mocha is a test framework for Node.js and the browser that runs test suites written in JavaScript using BDD or TDD styles.

Mocha solves the problem of organizing and executing unit tests by providing a structured test runner that supports multiple assertion libraries and reporting formats. It works by discovering test files, executing them in sequence, and reporting results through configurable reporters. The framework is designed to work in both server-side Node.js environments and browser contexts, making it suitable for testing across the full JavaScript stack.

Mocha suits projects of any size that need reliable test execution without opinionated constraints on assertion libraries or mocking tools. Teams should choose it if they value flexibility in test setup and a mature, stable foundation rather than an all-in-one testing solution. The tool is particularly well-suited for projects where developers want to compose their own testing stack by selecting compatible assertion and mocking libraries independently.

The project is maintained exclusively by volunteers and receives contributions from the community. Development activity shows engagement through a Discord channel for questions and an issue tracker for bug reports and feature requests. The maintainers support the project through an open collective model with both backers and sponsors, indicating sustained community investment in its continued maintenance and evolution.