JavaScript Testing Frameworks

Open-source JavaScript projects categorized as Testing Frameworks

Top 23 JavaScript Testing Framework Projects

  • Cypress

    Fast, easy and reliable testing for anything that runs in a browser.

    Project mention: React, Vite and TypeScript: Get started in under 2 minutes | | 2023-01-12

    You might have noticed the e2e folder. That's a fully-functioning setup of Cypress for doing integration-level or even full end-to-end tests.

  • mocha

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

    Project mention: A Guide to Successful DevOps in Web3 | | 2023-01-12

    Tests are usually written the same way as in web2, using libraries like Mocha and Chai. Truffle also has built-in support for tests.

  • Klotho

    AWS Cloud-aware infrastructure-from-code toolbox [NEW]. Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)

  • ava

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

    Project mention: Tech stack discussion | | 2023-01-08

    Ava for a simpler environment than Jest, which I usually use. I need to check how to mock ESM with it, though.

  • Enzyme

    JavaScript Testing utilities for React

    Project mention: How to Confidently Write Unit Tests using React Testing Library | | 2022-12-01

    So If you have experience with enzyme testing, where you might be checking the value of state once you click any button or you might be checking the prop value If something changes.

  • Nightmare

    A high-level browser automation library.

    Project mention: Web Scraping Google With Node JS | | 2022-09-24

    Nightmare JS is a web automation library designed for websites that don’t own APIs and want to automate browsing tasks. Nightmare JS is mostly used by developers for UI testing and crawling. It can also help mimic user actions(like goto, type, and click) with an API that feels synchronous for each block of scripting.

  • jasmine

    Simple JavaScript testing framework for browsers and node.js

    Project mention: Common Pitfalls in Angular Component Testing | | 2023-01-28

    Learn more about Jasmine and Karma

  • karma

    Spectacular Test Runner for JavaScript

    Project mention: Front-end Guide | | 2022-11-23


  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • nightwatch

    End-to-end testing framework written in Node.js and using the W3C Webdriver API

    Project mention: A guide for technical writers on JavaScript Testing Libraries | | 2022-08-13


  • TestCafe

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

    Project mention: Why TestCafe is the Perfect Solution for Automating Browser Testing in Your Web Project | | 2023-01-13

    Official website:

  • Sinon.JS

    Test spies, stubs and mocks for JavaScript.

    Project mention: Need help writing a jest test that mocks an API call which will update state | | 2022-09-29

    You can use sinon js to create a mock version of your http library (axios) that responds with the data you’re expecting.

  • Protractor

    E2E test framework for Angular apps

    Project mention: Overview over Angular’s repositories | | 2022-11-16

    Protractor repo (link)

  • istanbul

    Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.

  • chai

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

    Project mention: Typescript boilerplate test configuration with mocha, chai and sinon | | 2022-08-17

    Let's configure tests with mocha, chai and sinon on Typescript in a few steps.

  • zombie

    Insanely fast, full-stack, headless browser testing using node.js

    Project mention: Introduction to Zombie.JS | | 2022-04-17
  • qunit

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

    Project mention: Top 15 Must Have Tools For JavaScript Developers | | 2022-11-09

    QUNIT: QUnit was first installed on NPM, which is a javascript testing framework. It’s a javascript based unit testing framework. For more info:

  • taiko

    A node.js library for testing modern web applications

    Project mention: Challenges in User Interface Automation: New Approaches | | 2022-10-17

    The Open Source library Taiko can detect elements based on relation.

  • slimerjs

    A scriptable browser like PhantomJS, based on Firefox

  • proxyquire

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

  • expect.js

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

  • blanket

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

  • FrintJS

    Modular JavaScript framework for building scalable and reactive applications

    Project mention: Microfrontends: Microservices for the Frontend | | 2022-10-14

    Frint: another modular framework for building component-based applications. Integrates with React, Vue, and Preact.

  • DalekJS

    [unmaintained] DalekJS Base framework

  • Nullstack

    Feature-Driven Ful Stack JavaScript Components

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

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). The latest post mention was on 2023-01-28.

JavaScript Testing Frameworks related posts


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

Project Stars
1 Cypress 42,413
2 mocha 21,858
3 ava 20,208
4 Enzyme 19,964
5 Nightmare 19,330
6 jasmine 15,490
7 karma 11,820
8 nightwatch 11,292
9 TestCafe 9,542
10 Sinon.JS 9,230
11 Protractor 8,792
12 istanbul 8,591
13 chai 7,810
14 zombie 5,638
15 qunit 3,988
16 taiko 3,216
17 slimerjs 2,981
18 proxyquire 2,713
19 expect.js 2,110
20 blanket 1,409
21 FrintJS 733
22 DalekJS 703
23 Nullstack 698
Write Clean JavaScript Code. Always.
Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.