JavaScript Testing Frameworks

Open-source JavaScript projects categorized as Testing Frameworks

Top 23 JavaScript Testing Framework Projects

Testing Frameworks
  1. mocha

    ☕️ simple, flexible, fun javascript test framework for node.js & the browser

    Project mention: From Requests to Reports: Clean Logging in API Testing | dev.to | 2025-05-04

    In this article, we explore logging best practices that are largely tool-agnostic, but we'll demonstrate them using PactumJS, a powerful and extensible API testing tool, along with Mocha, a popular JavaScript test framework. For logging, we’ll use Pino, one of the fastest and most reliable structured loggers for Node.js.

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.

    SurveyJS logo
  3. ava

    Node.js test runner that lets you develop with confidence 🚀

  4. Enzyme

    JavaScript Testing utilities for React

    Project mention: JavaScript package manager - How to fix Cannot find module 'cheerio' error with Enzyme in Yarn 1 projects | dev.to | 2025-06-11

    Cheerio Update to 1.0.0 is breaking Enzyme 3.11.0 for Node < 18.17.0 #2606

  5. Nightmare

    A high-level browser automation library.

  6. jasmine

    Simple JavaScript testing framework for browsers and node.js

    Project mention: Top React Testing Libraries in 2025 | dev.to | 2025-03-31

    Jasmine is a standalone JavaScript testing framework that emphasizes simplicity and ease of use. It provides all necessary tools for writing tests without requiring additional libraries. Jasmine’s BDD syntax makes it easy to describe and structure tests in a way that’s easy to understand. While it doesn’t come with advanced features like mocking or spying, its lightweight nature and straightforward approach make it a good option for small to medium-sized React projects.

  7. karma

    Spectacular Test Runner for JavaScript

    Project mention: Adiós Karma, Hola Vitest: El Futuro del Testing en Angular | dev.to | 2025-06-27
  8. nightwatch

    Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. TestCafe

    A Node.js tool to automate end-to-end web testing.

    Project mention: Free Cross Browser Testing Tools to pick in 2025 | dev.to | 2024-11-20

    7. TestCafe TestCafe is a powerful open-source testing tool designed specifically for web applications. It simplifies the testing process by allowing developers to write tests in JavaScript or TypeScript without requiring browser plugins. TestCafe runs tests directly in the browser and supports a wide range of browsers without additional configurations. It provides an intuitive API for defining tests, making it accessible for both novice and experienced testers.

  11. Sinon.JS

    Test spies, stubs and mocks for JavaScript.

    Project mention: How to get 100% code coverage? ✅ | dev.to | 2025-01-16

    Now, we need to figure out how to test in general. To begin with, we will use Mocha, Sinon, and to generate C8 reports:

  12. chai

    BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.

    Project mention: Rest API Testing: How to test Rest APIs properly! | dev.to | 2024-08-07

    Unit Testing: Yes, Rest APIs can also be tested using unit tests. This involves executing the HTTP requests and validating the result. Although this method initially requires more effort, it offers the advantage of complete integration into your development process and enables continuous testing. Each programming language has its own tools. I mainly develop with JavaScript, so I can show you a practical example here. I use Mocha and Chai as testing frameworks. For each test, one or more requests are sent to the corresponding Rest API endpoints and the result is validated.

  13. qunit

    🔮 An easy-to-use JavaScript unit testing framework.

  14. taiko

    A node.js library for testing modern web applications

    Project mention: Ask HN: How do you promote your personal project in limited bugget? | news.ycombinator.com | 2025-05-22
  15. slimerjs

    A scriptable browser like PhantomJS, based on Firefox

  16. proxyquire

    🔮 Proxies nodejs require in order to allow overriding dependencies during testing.

  17. expect.js

    Minimalistic BDD-style assertions for Node.JS and the browser.

  18. blanket

    blanket.js is a simple code coverage library for javascript. Designed to be easy to install and use, for both browser and nodejs.

  19. Nullstack

    Feature-Driven Full Stack JavaScript Components

  20. FrintJS

    Modular JavaScript framework for building scalable and reactive applications

    Project mention: Tools and libraries widely used in micro frontend architectures! | dev.to | 2024-08-09

    Official Website

  21. DalekJS

    [unmaintained] DalekJS Base framework

  22. autochecker

    ♻️ Test your libraries in many different versions of NodeJS, Ruby, Java and many other languages

  23. totoro

    A simple and stable cross-browser testing tool. 简单稳定的跨浏览器测试工具。

  24. Webix UI

    Stable releases of Webix UI - JavaScript library for building mobile and desktop web apps

  25. Liquor Tree

    Tree component based on Vue.js

  26. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Testing Frameworks discussion

Log in or Post with

JavaScript Testing Frameworks related posts

  • Adiós Karma, Hola Vitest: El Futuro del Testing en Angular

    1 project | dev.to | 27 Jun 2025
  • 10 coding habits that turn devs into legends (or at least into deployers who don’t panic)

    6 projects | dev.to | 26 Jun 2025
  • From Requests to Reports: Clean Logging in API Testing

    4 projects | dev.to | 4 May 2025
  • Mastering Webhook & Event Testing: A Guide

    5 projects | dev.to | 29 Apr 2025
  • Most Effective Approaches for Debugging Applications

    15 projects | dev.to | 27 Apr 2025
  • Top React Testing Libraries in 2025

    7 projects | dev.to | 31 Mar 2025
  • How to get 100% code coverage? ✅

    5 projects | dev.to | 16 Jan 2025
  • A note from our sponsor - Stream
    getstream.io | 15 Jul 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →

Index

What are some of the best open-source Testing Framework projects in JavaScript? This list will help you:

# Project Stars
1 mocha 22,798
2 ava 20,810
3 Enzyme 19,918
4 Nightmare 19,595
5 jasmine 15,812
6 karma 11,969
7 nightwatch 11,939
8 TestCafe 9,860
9 Sinon.JS 9,730
10 chai 8,223
11 qunit 4,018
12 taiko 3,623
13 slimerjs 2,998
14 proxyquire 2,745
15 expect.js 2,101
16 blanket 1,395
17 Nullstack 781
18 FrintJS 757
19 DalekJS 695
20 autochecker 597
21 totoro 564
22 Webix UI 437
23 Liquor Tree 398

Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?