mochajs

    mochajs/mocha

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

    22.9K stars
    3.1K forks
    22.9K GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 35 days ago, with 423 contributors on GitHub.

    Use Cases & Benefits

    • Provides a classic, reliable test framework for Node.js and browser environments to write and run JavaScript tests.
    • Offers a flexible and trusted testing environment supporting both BDD and TDD styles with broad compatibility.
    • Use for writing unit and integration tests in Node.js applications to ensure code correctness.
    • Use for running browser-based JavaScript tests to validate frontend functionality across different browsers.
    • Use for adopting behavior-driven development (BDD) or test-driven development (TDD) workflows in JavaScript projects.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

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

    Become a backer and show your support to our open source project on our site.

    Excerpt from the mochajs/mocha README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    3.1K-14

    Open issues

    238-11

    Compared with peers in Testing

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    mochajs/mocha compared with Testing repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    D4Vinci/Scrapling101.1K+6.3K756 days ago
    nrwl/nx29.4K—653 days ago
    stretchr/testify26.2K—5678 days ago
    mochajs/mocha22.9K—6335 days ago
    gildas-lormeau/SingleFile22.9K—35today
    appium/appium22.2K—601 day ago
    Category median26.2K—60—

    Discover Repositories

    Search across tracked repositories by name or description