JavaScript testing-tools

Open-source JavaScript projects categorized as testing-tools Edit details

Top 23 JavaScript testing-tool Projects

  • Cypress

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

    Project mention: What do you like or dislike about Protractor? | | 2022-06-19

    For another perspective: I wouldn't recommend Cypress over Playwright until they solve this

  • mocha

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

    Project mention: Test-Driven Infrastructure Development with Pulumi and Jest | | 2022-06-14

    If you've written JavaScript tests before, particularly with tools like Jest, Jasmine, and Mocha, there's a good chance you've gotten used to writing those tests in a particular way. And if you're like me, you might've raised a bit of an eyebrow when you saw how that first test was written. Here it is again, this time with comments that capture the questions I might've had myself if I were seeing this code for the first time:

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

  • Detox

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

    Project mention: Detox : Gray box end-to-end test automation framework for react-native apps | | 2022-06-03

    Copy & paste the content of the equivalent file from the detox example app for RN, into it. Don't forget to change the package name to your project's package name.

  • TestCafe

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

    Project mention: Why You Always Have To Close Your Article With A Call To Action AKA A Brief Introduction To Hashnode Widgets By Miki Szeles | | 2022-03-18

    Here it is: Contribute to the open-source Selenideium Element Inspector Chrome Extension, with which test automation teams can save hours daily by automatically generating all the relevant selectors for Selenide, Selenium, Cypress, Playwright, Squish and TestCafe.

  • pixelmatch

    The smallest, simplest and fastest JavaScript pixel-level image comparison library

    Project mention: JS Question | | 2022-03-25

    There are quite a few image comparison libraries in pure Javascript for both node and browser.

  • miragejs

    A client-side server to build, test and share your JavaScript app

    Project mention: How to correctly mock node-fetch? | | 2022-02-18
  • taiko

    A node.js library for testing modern web applications

    Project mention: Chrome/Chromium automation with Taiko ! | | 2022-04-27

    Posting it here as I found this Javascript-based tool called Taiko - Looking forward to do some automations for my chromium browser. If anyone is using this, could you please share how it has fared for you and have you mixed any of it's logic with autohotkey?

  • JetBrains

    Developer Ecosystem Survey 2022. Take part in the Developer Ecosystem Survey 2022 by JetBrains and get a chance to win a Macbook, a Nvidia graphics card, or other prizes. We’ll create an infographic full of stats, and you’ll get personalized results so you can compare yourself with other developers.

  • testdouble.js (AKA td.js)

    A minimal test double library for TDD with JavaScript

  • spearmint

    Testing, simplified. || An inclusive, accessibility-first GUI for generating clean, semantic Javascript tests in only a few clicks of a button.

    Project mention: Spearmint Version 10.0 Released | | 2022-04-30
  • 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.

  • Hermione

    Browser test runner based on mocha and wdio

  • zora

    Lightest, yet Fastest Javascript test runner for nodejs and browsers

    Project mention: Recommendations for a lightweight, idiomatic testing framework? (looking for a diamond in the rough, not the top 5 most popular) | | 2022-01-27
  • AyeSpy

    A performant visual regression testing tool

  • cypress-localstorage-commands

    Extends Cypress' cy commands with localStorage methods. Allows preserving localStorage between tests.

    Project mention: Effective Test Strategies for Testing Front-end Applications using LaunchDarkly Feature Flags and Cypress. Part2: testing | | 2022-03-29

    Cypress clears local storage between tests — it blocks — and LD sets a random user in local storage. This works great when a spec file has a single it block, but what happens when there are multiple it blocks? We can handle that with cypress-localstorage-commands as well.

  • volder

    volder is powerful Object schema validation lets you describe your data using a simple and readable schema and transform a value to match the requirements

    Project mention: data validation and schema builder and parsing (user login validation) | | 2022-02-10
  • consolemock

    A tool for testing console logs

  • cypress-fail-fast

    A Cypress plugin to skip tests on first failure.

  • main

    Mocks Server monorepo (by mocks-server)

    Project mention: A Node.js configuration provider reading files, environment and arguments | | 2022-05-25

    @mocks-server/config - It allows to define configuration options, and it reads environment variables and uses cosmiconfig and commander under the hood to provide values to them.

  • wonqa

    Quickly create disposable QA environments

    Project mention: Preview Environments with AWS & Cloudflare | | 2021-11-24

    One approach is to use Let's Encrypt to generate temporary SSL certs. Here's a good implementation for this. But this presents with other issues of managing all the certs we generate through Let's Encrypt.

  • cypress-mailosaur

    Mailosaur email and SMS testing commands for Cypress

    Project mention: Test emails effortlessly with Cypress, Mailosaur and cy-spok | | 2022-01-28

    Mailosaur plugin has a few handy functions which help you abstract complex needs. Some of our favorites are bolded.

  • restqa

    🦏 | Creates Happiness through Next in class Microservice developer experience

    Project mention: Anyone interested in contributing to an open source project? | | 2021-08-24

    More detail here:

  • axe-testcafe

    The helper for using Axe in TestCafe tests

  • elasticsearch-js-mock

    Mock utility for the Elasticsearch's Node.js client

    Project mention: 2.7.0 Pre | | 2022-02-11

    There's finally been progress on tests for advanced search! I have a PR up and waiting for tweaks and reviews. I think I'm just happy that ElasticSearch-Mock is cooperating with me.

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-06-19.

JavaScript testing-tools related posts


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

Project Stars
1 Cypress 39,257
2 mocha 21,458
3 Detox 9,631
4 TestCafe 9,339
5 pixelmatch 4,795
6 miragejs 4,676
7 taiko 3,156
8 testdouble.js (AKA td.js) 1,333
9 spearmint 1,089
10 vue-testing-library 852
11 Hermione 514
12 zora 453
13 AyeSpy 168
14 cypress-localstorage-commands 139
15 volder 111
16 consolemock 102
17 cypress-fail-fast 93
18 main 79
19 wonqa 76
20 cypress-mailosaur 56
21 restqa 49
22 axe-testcafe 37
23 elasticsearch-js-mock 37
Find remote jobs at our new job board There are 4 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.