JavaScript Testing

Open-source JavaScript projects categorized as Testing

Top 23 JavaScript Testing Projects

  • Cypress

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

  • Project mention: Simulating Internet Outage and Recovery using Cypress | dev.to | 2024-01-25

    In this blog post, we'll explore a Cypress test that replicates this scenario, utilizing the powerful intercept command to manipulate network requests and responses.

  • javascript-testing-best-practices

    ๐Ÿ“—๐ŸŒ ๐Ÿšข Comprehensive and exhaustive JavaScript & Node.js testing best practices (July 2023)

  • Project mention: Comprehensive and exhaustive JS & Node.js testing best practices (July 2023) | /r/softwarecrafters | 2023-11-30
  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • mocha

    โ˜•๏ธ simple, flexible, fun javascript test framework for node.js & the browser

  • Project mention: How to start an Open Source project. Building RESO API JS client | dev.to | 2024-05-14

    Discuss which tech stack you and your team will use, and add cards to the Backlog list with description, adding this technology in your project. In our case, it is Mocha and Nock for testing and Axios for making API calls.

  • ava

    Node.js test runner that lets you develop with confidence ๐Ÿš€

  • Project mention: Painless CLI integration testing | dev.to | 2024-01-10

    We use Jest Framework for testing. Jest is not a dogma, and, of course, in its place can be any other test runner, such as Mocha or Ava. Let's focus on tests. I'll provide a short example because I donโ€™t want to waste your time. You can find the full version here. It's crucial to read the comments in the code below. Let's go!

  • Enzyme

    JavaScript Testing utilities for React

  • Project mention: The best testing strategies for frontends | dev.to | 2024-04-22

    Probably Enzyme was the first to popularize component testing in React by doing shallow rendering and expecting some things to be there in the React component tree. Then React Testing library came and took component testing to a whole new level.

  • react-testing-library

    ๐Ÿ Simple and complete React DOM testing utilities that encourage good testing practices.

  • Project mention: ReactJS Good Practices | dev.to | 2023-11-01

    React Testing Library

  • jasmine

    Simple JavaScript testing framework for browsers and node.js

  • Project mention: JS Toolbox 2024: Bundlers and Test Frameworks | dev.to | 2024-03-03

    Jasmine is a behavior-driven development framework for testing JavaScript code. It's known for its clean, straightforward syntax and does not rely on any other JavaScript frameworks or a Document Object Model (DOM). Jasmine is often praised for its simplicity and ease of use in both frontend and backend testing environments.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • volkswagen

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

  • Project mention: "Volkswagen' detects when your tests are being run in a CI server | news.ycombinator.com | 2024-04-09
  • nightwatch

    Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack

  • Project mention: Automating Android TV app with Nightwatch | dev.to | 2024-04-25

    Nightwatch which will prompt to create a boilerplate framework specifically for Mobile / TV apps.

  • Detox

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

  • Project mention: React Native Testing Options Overview | dev.to | 2024-05-14

    There are two well-supported solutions on the market for mobile apps testing. Gray box end-to-end testing and automation library called Detox, and open source, a cross-platform test automation tool for native, hybrid and mobile apps called Appium.

  • pollyjs

    Record, Replay, and Stub HTTP Interactions.

  • Project mention: Polly.js โ€“ Record, replay, and stub HTTP interactions | news.ycombinator.com | 2024-01-08

    They "pushed" out this project in 2018

    https://github.com/Netflix/pollyjs/commit/281115d359ee0da5e0...

  • artillery

    The complete load testing platform. Everything you need for production-grade load tests. Serverless & distributed. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module.

  • Project mention: Artillery: The complete load testing platform | news.ycombinator.com | 2024-05-09
  • web-skills

    A visual overview of useful skills to learn as a web developer

  • tape

    tap-producing test harness for node and browsers

  • axe-core

    Accessibility engine for automated Web UI testing

  • Project mention: ADA Compliance Made Easy: ADA Testing for Websites and Applications | dev.to | 2024-04-22

    The reports often rank the issues by severity level and provide actionable solutions. Using these reports, developers can prioritize accessibility fixes and improve their products' accessibility. Popular examples of automated testing tools include Axe, WAVE, and SiteImprove. Also, most modern browsers offer built-in accessibility audits within their developer tools.

  • nyc

    the Istanbul command line interface

  • Project mention: Collecting JavaScript code coverage with Capybara in Ruby on Rails application | dev.to | 2024-05-14

    At the next stage, they are merged into one JSON file. For this purpose, we use nyc (Istanbulโ€™s command line interface).

  • miragejs

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

  • Project mention: Exploring Mirage JS: Simplifying API Mocking in React Development | dev.to | 2023-08-07

    Mirage JS GitHub Repository

  • jest-dom

    :owl: Custom jest matchers to test the state of the DOM

  • Project mention: Unit tests in React with Jest and Testing Library | dev.to | 2024-04-29

    Tests structure Queries Roles User events Matchers Jest Matchers testing-library Mock functions

  • dredd

    Language-agnostic HTTP API Testing Tool

  • Project mention: The Uncreative Software Engineer's Compendium to Testing | dev.to | 2023-07-31

    Dredd: used to test APIs based on the API blueprint or OpenAPI specification, to ensure implementation matches the specification.

  • CodeceptJS

    Supercharged End 2 End Testing Framework for NodeJS

  • qunit

    ๐Ÿ”ฎ An easy-to-use JavaScript unit testing framework.

  • pa11y

    Pa11y is your automated accessibility testing pal

  • Project mention: ๐Ÿคฏ 150 Articles to Satisfy Your Curiosity | dev.to | 2024-03-13

    Pa11y is your automated accessibility testing pal (https://pa11y.org/) by Rowan Manning

  • jest-image-snapshot

    โœจ Jest matcher for image comparisons. Most commonly used for visual regression testing.

  • Project mention: How to test chart components in react? | /r/react | 2023-12-10

    You can give a try about visual testing. I think about Cypress components and Cypress Image snapshot or Jest Image snapshot (not DOM testing)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

JavaScript Testing related posts

  • React Native Testing Options Overview

    3 projects | dev.to | 14 May 2024
  • Why I rarely use `getByRole`: Testing Library and the first rule of ARIA

    1 project | dev.to | 3 May 2024
  • How to Add Firebase Authentication To Your NodeJS App

    7 projects | dev.to | 1 May 2024
  • Unit tests in React with Jest and Testing Library

    1 project | dev.to | 29 Apr 2024
  • ADA Compliance Made Easy: ADA Testing for Websites and Applications

    1 project | dev.to | 22 Apr 2024
  • Tracetest + Artillery Launch Week Recap ๐Ÿ’ฅ

    2 projects | dev.to | 19 Apr 2024
  • How to Write Accessible Technical Documentation โ€“ Best Practices with Examples

    2 projects | dev.to | 15 Apr 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 20 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more โ†’

Index

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

Project Stars
1 Cypress 46,226
2 javascript-testing-best-practices 23,589
3 mocha 22,454
4 ava 20,632
5 Enzyme 19,962
6 react-testing-library 18,715
7 jasmine 15,717
8 volkswagen 13,236
9 nightwatch 11,725
10 Detox 10,984
11 pollyjs 10,194
12 artillery 7,519
13 web-skills 6,850
14 tape 5,757
15 axe-core 5,682
16 nyc 5,529
17 miragejs 5,297
18 jest-dom 4,312
19 dredd 4,139
20 CodeceptJS 4,060
21 qunit 4,008
22 pa11y 3,974
23 jest-image-snapshot 3,789

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com