JavaScript Testing Frameworks

Open-source JavaScript projects categorized as Testing Frameworks

Top 23 JavaScript Testing Framework Projects

  • Cypress

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

    Project mention: Cypress changed older versions to block third-party plugins (ignoring lockfiles) | news.ycombinator.com | 2023-11-08
  • mocha

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

    Project mention: How To Write Better and Quality Code | dev.to | 2023-11-05

    JavaScript Popular tools for testing: Mocha, Jasmine, Unit JS, Jest

  • Appwrite

    Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.

  • ava

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

    Project mention: Speeding up the JavaScript ecosystem – The barrel file debacle | news.ycombinator.com | 2023-10-09

    > In the popular jest test runner, each test file is executed in its own child process.

    Is that confirmed?

    I've been following this issue:

    https://github.com/jestjs/jest/issues/6957

    And what Jest actually does is still kind of muddy.

    In contrast to that, other test runners like AVA have a clear description what happens when:

    https://github.com/avajs/ava/blob/main/docs/01-writing-tests...

  • Enzyme

    JavaScript Testing utilities for React

    Project mention: Testing React Components: A Comprehensive Overview of Testing Libraries | dev.to | 2023-10-15

    Enzyme is another popular testing utility for React. It allows you to manipulate and traverse React components' output, making it easier to write comprehensive tests.

  • Nightmare

    A high-level browser automation library.

  • jasmine

    Simple JavaScript testing framework for browsers and node.js

    Project mention: How To Write Better and Quality Code | dev.to | 2023-11-05

    JavaScript Popular tools for testing: Mocha, Jasmine, Unit JS, Jest

  • karma

    Spectacular Test Runner for JavaScript

    Project mention: How to Fetch Data from an API in Angular | dev.to | 2023-05-29

    Run ng test to execute the unit tests via Karma.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • nightwatch

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

    Project mention: How to manipulate rendered HTML on the backend | /r/node | 2023-09-27
  • TestCafe

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

    Project mention: Avem si noi joburi pentru junior tester in perioada asta? | /r/programare | 2023-03-22
  • Sinon.JS

    Test spies, stubs and mocks for JavaScript.

    Project mention: Express API Testing | /r/node | 2023-03-07

    Mocha is a test runner, Chai is an assertion library, Sinon is a mocking library, this normally the combination you would need to use if you choose mocha, but there are others.

  • Protractor

    E2E test framework for Angular apps

    Project mention: Introduction to Cypress and UI Test Automation | /r/u_Ok-Examination-4768 | 2023-05-23

    Cypress is a next-generation front-end Automation testing tool built for modern web applications. It is a JavaScript-based end-to-end testing framework and is known for faster test execution as compared with other testing tools (like Selenium or Protractor).

  • istanbul

    Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.

  • chai

    BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.

    Project mention: Почему я программирую на Ruby | dev.to | 2023-10-20
  • zombie

    Insanely fast, full-stack, headless browser testing using node.js

    Project mention: Headless Browser in Python and Selenium | dev.to | 2023-04-12

    Zombie.JS is a lightweight framework for testing client-side JavaScript code and also serves as a Node.js library.

  • qunit

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

    Project mention: Unit testing website front end | /r/typescript | 2023-05-16

    Mocha can also run in the browser: https://mochajs.org/#running-mocha-in-the-browser. An alternative library that can also run in the browser is QUnit: https://qunitjs.com/. You can include both with

  • taiko

    A node.js library for testing modern web applications

  • slimerjs

    A scriptable browser like PhantomJS, based on Firefox

  • proxyquire

    🔮 Proxies nodejs require in order to allow overriding dependencies during testing.

    Project mention: Best practices for writing testable ES6 modules | /r/learnjavascript | 2023-06-08

    Take a look at proxyquire: https://www.npmjs.com/package/proxyquire - they do some fancy magic to allow you to stub es module imports.

  • expect.js

    Minimalistic BDD-style assertions for Node.JS and the browser.

  • blanket

    blanket.js is a simple code coverage library for javascript. Designed to be easy to install and use, for both browser and nodejs.

  • Nullstack

    Feature-Driven Full Stack JavaScript Components

  • FrintJS

    Modular JavaScript framework for building scalable and reactive applications

  • DalekJS

    [unmaintained] DalekJS Base framework

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

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 2023-11-08.

JavaScript Testing Frameworks related posts

Index

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

Project Stars
1 Cypress 45,268
2 mocha 22,277
3 ava 20,535
4 Enzyme 19,997
5 Nightmare 19,466
6 jasmine 15,654
7 karma 11,896
8 nightwatch 11,494
9 TestCafe 9,711
10 Sinon.JS 9,477
11 Protractor 8,766
12 istanbul 8,668
13 chai 7,982
14 zombie 5,661
15 qunit 4,006
16 taiko 3,378
17 slimerjs 2,991
18 proxyquire 2,741
19 expect.js 2,099
20 blanket 1,410
21 Nullstack 759
22 FrintJS 742
23 DalekJS 699
Learn any GitHub repo in 59 seconds
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
getonboard.dev