JavaScript Test

Open-source JavaScript projects categorized as Test | Edit details

Top 23 JavaScript Test 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 react-testing-library

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

    Project mention: Getting Started with React Cosmos | | 2021-08-23

    There are many ways to test component UIs and some testing frameworks help us achieve that, to mention but a few react-testing-library, where we write tests to check what a component has, for example, if we are testing a form component, we will write tests to check it a button is rendered, if there are input and/or select tags, etc and we usually see the results in our terminals but with React cosmos, we have a visual way to test our components (Visual TDD) which makes testing easier.

  • GitHub repo javascript-testing-best-practices

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

    Project mention: Bonnes pratiques des test Javascript et Node.js | | 2022-01-16
  • GitHub repo stf

    Control and manage Android devices from your browser.

  • 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é

  • SonarQube

    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.

  • GitHub repo gremlins.js

    Monkey testing library for web apps and Node.js

    Project mention: Types of test cases which should not be automated. | | 2021-07-27

    I don't agree with your stance on exploratory testing, gremlins and monkeys also do a good job, given the right support (infrastructure & profiling) are in place.

  • 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 warriorjs

    🏰 An exciting game of programming and Artificial Intelligence

    Project mention: I grew up coding games and learned a lot from it. Too many coders never get the chance to experiment with games, so I made an open-source engine called CODE / COLLISION - all you code is your strategy, and then compete against your friends/coworkers in an offline tournament. | | 2021-12-21

    To add to the list - warriorJS - JSRobot - elevatorEscape

  • GitHub repo carte-blanche

    An isolated development space with integrated fuzz testing for your components. See them individually, explore them in different states and quickly and confidently develop them.

  • GitHub repo start-server-and-test

    Starts server, waits for URL, then runs test command; when the tests end, shuts down server

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

    Next to Cypress, we've installed a utility library called start-server-and-test. This utility library can start the development server, wait until it responds to the given URL, and then runs the Cypress tests. In the end, it stops all running processes during the cleanup phase.

  • GitHub repo jest-in-case

    Jest utility for creating variations of the same test

    Project mention: Study Notes for Kent C. Dodds' Javascript Testing Course | | 2021-08-03

    Any way to improve error message for jest test when there is a function with multiple cases? Try abstract it with ​GitHub - atlassian/jest-in-case: Jest utility for creating variations of the same test​

  • GitHub repo chai-enzyme

    Chai.js assertions and convenience functions for testing React Components with enzyme

  • GitHub repo vue-testing-library

    🦎 Simple and complete Vue.js testing utilities that encourage good testing practices.

    Project mention: Looking for TDD course with Vue | | 2021-08-17

    I personally do not find the Testing Library docs that great, but I find the examples to be more useful.

  • GitHub repo dotenv-flow

    Loads environment variables from .env.[development|test|production][.local] files for Node.js® projects.

  • GitHub repo xv

    :x: :heavy_check_mark: A beautifully simple and capable test runner

    Project mention: XV – zero-config test runner for Node.js with ESM support | | 2021-09-06
  • GitHub repo redux-test-recorder

    a redux middleware to automatically generate tests for reducers through ui interaction

  • GitHub repo citgm

    Canary in the Gold Mine

    Project mention: Contributing to Node.js Core | | 2021-03-18

    I started in the project by contributing to a tool called Canary in the Gold Mine, a smoke testing utility we still use to test all Node.js releases today. My first commit was adding string literals to a test. Over time I got involved in releases and help to define and create the LTS release process that Node.js uses today.

  • GitHub repo log-process-errors

    Show some ❤️ to Node.js process errors

  • GitHub repo zora

    Lightest, yet Fastest Javascript test runner for nodejs and browsers

    Project mention: CDK Integration Testing | | 2021-11-19

    ℹ️ Since all you need from the test runner is to know if the tests passed or failed, you won't need anything that advanced. The zora testing library looks like a good alternative if you want to try something different.

  • GitHub repo twist

    Declarative JavaScript Testing.

    Project mention: Are most people not using ESM (import/export) syntax even in v14 and 15? Why aren't the big unit test frameworks supporting it? | | 2021-02-17

    I'm building a new test framework for Node. Only for 12 and above. No Babel required.

  • GitHub repo jest-expect-message

    Add custom message to Jest expects 🃏🗯

    Project mention: Array.prototype.groupBy to the rescue! | | 2021-12-15

    Writing code in this manner can have real world impacts. We recently removed a Jest extension, jest-expect-message, because of this exact issue. This PR - #27 - addresses that issue, but unfortunately the project seems abandoned so it hasn't been merged.

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-16.

JavaScript Test related posts


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

Project Stars
1 Cypress 35,941
2 mocha 21,051
3 Enzyme 19,792
4 react-testing-library 15,758
5 javascript-testing-best-practices 14,126
6 stf 12,233
7 TestCafe 9,190
8 gremlins.js 8,822
9 Protractor 8,799
10 warriorjs 8,665
11 carte-blanche 1,518
12 start-server-and-test 1,109
13 jest-in-case 965
14 chai-enzyme 794
15 vue-testing-library 767
16 dotenv-flow 656
17 xv 502
18 redux-test-recorder 492
19 citgm 458
20 log-process-errors 445
21 zora 437
22 twist 379
23 jest-expect-message 283
Find remote jobs at our new job board There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
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.