JavaScript Testing Frameworks

Open-source JavaScript projects categorized as Testing Frameworks | Edit details

Top 23 JavaScript Testing Framework Projects

  • GitHub repo Cypress

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

    Project mention: Cypress and Flaky Tests: How to Handle Timeout Errors | | 2022-01-13

    Cypress is an automated end-to-end testing framework with over three million weekly open-source downloads at the time of this writing. It’s steady popularity isn’t without reason; the perks of using Cypress include, among other things, a snapshot visualization tool, automatic reloads after any change in your tests, and the ability to control network requests and responses without ever hitting your server.

  • GitHub repo mocha

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

    Project mention: Simple Test-Driven Development (TDD) With Mocha and Node.js | | 2022-01-16

    Here is a quick tutorial on Test-Driven Development (TDD) with the Mocha test tool and Node.js.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo Enzyme

    JavaScript Testing utilities for React

    Project mention: Enzyme is dead. Now what? | | 2021-12-20

    React 17 Release Candidate came out. Shortly after, an issue has been raised in Enzyme repository to add support for React 17. Immediately after, @layershifter has opened a PR adding an official enzyme-adapter-react-17.

  • GitHub repo ava

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

    Project mention: just let their domain expire | | 2021-12-17

    I really enjoy Ava [1] or anything assert-tape-like [2]. "uvu" [3] is getting a lot of love lately, but it's very feature limited and much of it's touted advantages are at the detriment to feature set.




    Jest is great for front-end (or full stack integration) testing, but I feel it's specialized for that use-case and doesn't always play nice with backend/middle-tier testing needs.

  • GitHub repo Nightmare

    A high-level browser automation library.

    Project mention: Fill a form in an autamated way ? | | 2021-11-24
  • GitHub repo jasmine

    Simple JavaScript testing framework for browsers and node.js

    Project mention: Automated Cross Browser Testing With Jasmine Framework & Selenium | | 2022-01-17

    Step 1 : Download the latest version of Jasmine from the official website.

  • GitHub repo karma

    Spectacular Test Runner for JavaScript

    Project mention: Advanced Roadmap for React.js developers | | 2021-11-25

    iii. Integration Testing -Karma

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo nightwatch

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

    Project mention: Possible alternatives to Front End Web Development | | 2021-12-06

    If the company uses something like Cypress or Nightwatch, then you'll need to write tests in Javascript, and often will deal with APIs / patterns (e.g. CSS selectors) that appear in traditional frontend work.

  • GitHub repo TestCafe

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

    Project mention: 🚀 Angular 13 Starter with ESLint, Material, Transloco, Jest, TestCafe, Docker & Prettier 🚀 | | 2022-01-07

    ✅ End-to-End Testing with TestCafé

  • GitHub repo Sinon.JS

    Test spies, stubs and mocks for JavaScript.

    Project mention: Dealing With Test Doubles | | 2021-12-24

    Fakes can be constructed without help from mocking frameworks such as Jest or Sinon. An example of a fake object in Typescript,

  • GitHub repo Protractor

    E2E test framework for Angular apps

    Project mention: Help with automatization | | 2021-10-09

    The Protractor testing framework was created for e2e testing of Angular apps.

  • GitHub repo 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.

  • GitHub repo chai

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

    Project mention: just let their domain expire | | 2021-12-17

    For those of you wondering what a "Chaijs" is like I was:

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

  • GitHub repo zombie

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

  • GitHub repo qunit

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

    Project mention: 🚀10 Trending projects on GitHub for web developers - 15th October 2021 | | 2021-10-15

    Tests are located in the test/ folder. Load test/test.html in your browser of choice with any HTTP server you like (I use http-server). Tests are written in QUnit and are…

  • GitHub repo taiko

    A node.js library for testing modern web applications

  • GitHub repo slimerjs

    A scriptable browser like PhantomJS, based on Firefox

  • GitHub repo proxyquire

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

    Project mention: AWS Lambda Functions (Node.js) - Unit testing using Mocha and Chai | | 2021-12-17

    Now that we know how to call/execute a lambda function in our local. Let us learn about mocking the dependencies inside the lambda function. These dependencies can be any third-party libraries or DB call or even an API call. To override and mock these dependencies we can use proxyquire package.

  • GitHub repo expect.js

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

  • GitHub repo blanket

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

  • GitHub repo DalekJS

    [unmaintained] DalekJS Base framework

  • GitHub repo FrintJS

    Modular JavaScript framework for building scalable and reactive applications

    Project mention: What are micro frontends? | | 2021-05-23

    Frint: a complete framework that delivers routing, state management, server rendering and other features to micro frontend architecture

  • GitHub repo autochecker

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

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 2022-01-17.

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 36,062
2 mocha 21,051
3 Enzyme 19,799
4 ava 19,547
5 Nightmare 19,094
6 jasmine 15,279
7 karma 11,610
8 nightwatch 10,934
9 TestCafe 9,197
10 Sinon.JS 8,862
11 Protractor 8,799
12 istanbul 8,493
13 chai 7,473
14 zombie 5,579
15 qunit 3,932
16 taiko 2,988
17 slimerjs 2,986
18 proxyquire 2,663
19 expect.js 2,097
20 blanket 1,411
21 DalekJS 703
22 FrintJS 691
23 autochecker 599
Find remote jobs at our new job board There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.