JavaScript Testing

Open-source JavaScript projects categorized as Testing

Top 23 JavaScript Testing Projects

  • nodebestpractices

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

    Latest mention: use async/await in controller or service ? | reddit.com/r/node | 2021-01-07

    Yep, this is important to be aware of. It's explained in the Node.js Best Practices: https://github.com/goldbergyoni/nodebestpractices#-212-always-await-promises-before-returning-to-avoid-a-partial-stacktrace

  • cypress

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

    Latest mention: Cypress Vs Selenium: How To Pick The Right Testing Tool For You? | dev.to | 2021-01-05

    Cypress is a relatively new player in the arena of automation testing and web app testing. Like the Selenium framework, Cypress is also open-source, and the project is hosted on GitHub. Off late, Cypress has gained significant traction, as it is evident from the number of forks and stars for the project.

  • enzyme

    JavaScript Testing utilities for React

    Latest mention: Set up a React App for Testing with Jest and Enzyme | dev.to | 2020-12-01

    Enzyme is not yet compatible with React 17. You should make sure the highest version of React you are using is 16.14.0 if you want to use Enzyme with your tests. This PR will add an adapter for React 17. Please do not ask them when it will be done, it will be done when they get it done!

  • ava

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

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

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

  • jasmine

    Simple JavaScript testing framework for browsers and node.js

  • volkswagen

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

    Latest mention: Things to Consider When Choosing a Component Library | dev.to | 2020-10-11

    The popularity of software as a metric is interesting. On the one hand, popularity can be an indicator of a certain degree of quality — if thousands of developers are using the library, posting good things about it, it seems a good sign for the future of the project. On the other hand, popularity can be faked. Or it’s not applicable —when a joke project has more stars than most GitHub projects we can’t take popularity as a serious metric without taking a closer look.

  • nightwatch

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

  • Detox

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

    Latest mention: Making my react native app more robust | reddit.com/r/reactnative | 2021-01-11

    To test your app you can use:- for the JS side of the app: https://callstack.github.io/react-native-testing-library/- to do end-to-end (e2e) testing: https://github.com/wix/Detox (you can use that to test on multiple devices for instance)

  • tape

    tap-producing test harness for node and browsers

    Latest mention: How do I write meaningful unit tests, rather than useless or low-value unit tests? | reddit.com/r/learnprogramming | 2021-01-11

    As you (and several others) suggested, measuring ‘coverage’ could be helpful for me. As you know my programming language is JavaScript. My test runner is Tape, which does not have any way to measure coverage. Do you have suggestions on helpful/reliable packages which I can use to measure coverage?

  • nyc

    the Istanbul command line interface

  • qunit

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

  • axe-core

    Accessibility engine for automated Web UI testing

  • CodeceptJS

    Supercharged End 2 End Testing Framework for NodeJS

  • toxy

    Hackable HTTP proxy for resiliency testing and simulated network conditions

  • power-assert

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

  • trevor

    🚦 Your own mini Travis CI to run tests locally

  • loadtest

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

  • node-tap

    Test Anything Protocol tools for node

  • Papercut-SMTP

    Papercut SMTP -- The Simple Desktop Email Server

  • leakage

    🐛 Memory leak testing for node.

  • testdouble.js

    A minimal test double library for TDD with JavaScript

  • user-event

    🐕 Simulate user events for react-testing-library

    Latest mention: Comparing Enzyme with React Testing Library | dev.to | 2021-01-04

    To get away from testing our code implementation and get closer to testing how the application is actually used, we turn once again to React Testing Library. Instead of creating fake DOM event objects and simulating various change events, we have the ability to mimic how users would actually interact with the application using userEvent's, which are provided by the user-event library.

  • 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).