JavaScript Testing

Open-source JavaScript projects categorized as Testing

Top 23 JavaScript Testing Projects

  • GitHub repo nodebestpractices

    :white_check_mark: The Node.js best practices list (February 2021)

    Project mention: Useful GitHub repositories for learning Web Development | | 2021-02-17

    6. Node.js Best Practices (Optional but important)

  • GitHub repo Cypress

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

    Project mention: Add testing to Vite | | 2021-02-23

    While unit tests are good for checking smaller bits of code, end-to-end tests are really good at checking the application as a whole in the browser. Vue CLI comes with built-in support for Cypress, an end-to-end test runner. We'll also use Cypress for this purpose.

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo mocha

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

    Project mention: A easy way to start developing smart contract | | 2021-01-01


  • GitHub repo Enzyme

    JavaScript Testing utilities for React

    Project mention: Hacer test de componentes en React con Enzyme | | 2021-02-11
  • GitHub repo ava

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

    Project mention: How to Become a Pro 😎 Front End Developer💻 | | 2020-10-08

    -Jest -Enzyme -Sinon -Mocha -Chai -AVA -Tape

  • GitHub repo jasmine

    Simple JavaScript testing framework for browsers and node.js

    Project mention: Nightwatch Vs Protractor: Which Testing Framework Is Right For You? | | 2021-02-08

    Afterward, it is better to scrutinize the compatibility notes in the Protractor README to make certain your Node.js version is perfectly compatible with this framework. However, by default, this framework uses Jasmine for its test interface.

  • GitHub repo react-testing-library

    🐐 Simple and complete React DOM testing utilities that encourage good testing practices.

    Project mention: Por qué usar Testing Library en lugar de Enzyme | | 2021-02-16
  • GitHub repo volkswagen

    :see_no_evil: Volkswagen detects when your tests are being run in a CI server, and makes them pass.

    Project mention: Esther Duflo : "Il y aura d’autres catastrophes, notamment climatiques, si nous ne faisons pas un effort" | | 2021-02-15

    Bonus pour les dev.

  • GitHub repo javascript-testing-best-practices

    📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (January 2021)

    Project mention: Useful GitHub repositories for learning Web Development | | 2021-02-17
  • GitHub repo nightwatch

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

  • GitHub repo Detox

    Gray box end-to-end testing and automation framework for mobile apps

    Project mention: The frontend tooling guide to improve Developer Experience | | 2021-02-22

    Detox: Gray box end-to-end testing and automation framework for mobile apps.

  • GitHub repo tape

    tap-producing test harness for node and browsers

    Project mention: What are some popular/suggested NPM packages for unit testing coverage? | | 2021-01-25

    Tape is a very lightweight test harness for Node. I don't believe it has any code coverage feature. I may ask them if there are separate NPM packages to measure code coverage that are compatible with Tape.

  • GitHub repo nyc

    the Istanbul command line interface

  • GitHub repo qunit

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

  • GitHub repo axe-core

    Accessibility engine for automated Web UI testing

    Project mention: Creating a Fast ⚡ and Beautiful 🌼 Portfolio Website using HTML, CSS 🎨, Eleventy ⑪ and Netlify | | 2021-02-23

    Use automated tools like Lighthouse, axe, and your browser's developer tools to find issues and errors early to ensure your site does not completely fail when it comes to speed, usability and accessibility.

  • GitHub repo CodeceptJS

    Supercharged End 2 End Testing Framework for NodeJS

    Project mention: Running CodeceptJS in BrowserStack Automate | | 2021-02-17

    Using a service like BrowserStack you can take your local automation tests to the skies. This is made possible by directing CodeceptJS to point to BrowserStack instead of running locally.

  • GitHub repo pa11y

    Pa11y is your automated accessibility testing pal

    Project mention: HTML5 Resource | | 2021-02-24

    Pa11y - automated accessibility testing

  • GitHub repo toxy

    Hackable HTTP proxy for resiliency testing and simulated network conditions

  • GitHub repo maildev

    :mailbox: SMTP Server + Web Interface for viewing and testing emails during development.

    Project mention: Django Mail Debug with MailDev w/ Docker for four Steps. | | 2021-02-17

    In my case, I used docker-compose to do this, but please read accordingly. Of course, you can also use Docker commands to run it, and even if you don't have Docker environment, you can install and use it with npm command. For more information, please look at official document here .

  • GitHub repo power-assert

    Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API.

  • GitHub repo trevor

    🚦 Your own mini Travis CI to run tests locally

  • GitHub repo loadtest

    Runs a load test on the selected URL. Easy to extend minimally for your own ends.

  • GitHub repo cypress-example-recipes

    Various recipes for testing common scenarios with Cypress

    Project mention: Client suddenly adopted Cypress while I have no base knowledge of Javascript or Cypress itself | | 2021-02-02

    Aside from the basic documentation on their website, I would also recommend reading through their kitchen sink examples. They're available on Github and on their site's documentation. I highly recommend reading the provided documentation top to bottom to really understand what the framework can provide and the testing philosophy the Cypress team took when building it. In addition, the Examples section on the Cypress website compiles a healthy amount of tutorial videos which have a ton of helpful information.

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 2021-02-24.


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

Project Stars
1 nodebestpractices 60,881
2 Cypress 27,812
3 mocha 20,272
4 Enzyme 19,405
5 ava 18,751
6 jasmine 15,019
7 react-testing-library 13,927
8 volkswagen 11,331
9 javascript-testing-best-practices 10,754
10 nightwatch 10,613
11 Detox 7,647
12 tape 5,441
13 nyc 4,530
14 qunit 3,867
15 axe-core 3,548
16 CodeceptJS 3,283
17 pa11y 2,845
18 toxy 2,677
19 maildev 2,671
20 power-assert 2,589
21 trevor 2,164
22 loadtest 2,050
23 cypress-example-recipes 1,803