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

  • mocha

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

  • Project mention: # 5 Testing Frameworks for JavaScript Developers | dev.to | 2024-06-01

    MochaJS is a versatile and widely respected testing framework for JavaScript. Here's an overview of its features and benefits:

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

  • Nightmare

    A high-level browser automation library.

  • jasmine

    Simple JavaScript testing framework for browsers and node.js

  • Project mention: # 5 Testing Frameworks for JavaScript Developers | dev.to | 2024-06-01

    Jasmine is renowned for its simplicity and is a popular choice for JavaScript testing. Here are its key features:

  • karma

    Spectacular Test Runner for JavaScript

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

  • TestCafe

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

  • Sinon.JS

    Test spies, stubs and mocks for JavaScript.

  • Project mention: Unit Testing in Node.js and TypeScript: A Comprehensive Guide with Jest Integration | dev.to | 2024-03-03

    If you are using a mocking library, such as sinon, jest-mock, or ts-mockito, make sure that it is compatible with Jest. You may need to install additional packages or configure them in your configuration file. For example, to use sinon with Jest, you can install the sinon-jest package and add the following to your configuration file:

  • Protractor

    E2E test framework for Angular apps

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

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

  • taiko

    A node.js library for testing modern web applications

  • slimerjs

    A scriptable browser like PhantomJS, based on Firefox

  • Project mention: SlimerJS: A headless browser (compatible with CasperJS) | news.ycombinator.com | 2024-05-14
  • 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

  • autochecker

    ♻️ Test your libraries in many different versions of NodeJS, Ruby, Java and many other languages

  • 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 Frameworks related posts

  • # 5 Testing Frameworks for JavaScript Developers

    3 projects | dev.to | 1 Jun 2024
  • Webix

    1 project | news.ycombinator.com | 24 May 2024
  • How to start an Open Source project. Building RESO API JS client

    4 projects | dev.to | 14 May 2024
  • SlimerJS: A headless browser (compatible with CasperJS)

    1 project | news.ycombinator.com | 14 May 2024
  • How to Add Firebase Authentication To Your NodeJS App

    7 projects | dev.to | 1 May 2024
  • Automating Android TV app with Nightwatch

    3 projects | dev.to | 25 Apr 2024
  • Introdução a testes unitários no desenvolvimento de software

    2 projects | dev.to | 22 Mar 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 1 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 Cypress 46,278
2 mocha 22,463
3 ava 20,648
4 Enzyme 19,961
5 Nightmare 19,515
6 jasmine 15,715
7 karma 11,929
8 nightwatch 11,732
9 TestCafe 9,775
10 Sinon.JS 9,574
11 Protractor 8,758
12 istanbul 8,695
13 chai 8,075
14 qunit 4,008
15 taiko 3,525
16 slimerjs 2,995
17 proxyquire 2,739
18 expect.js 2,101
19 blanket 1,405
20 Nullstack 762
21 FrintJS 750
22 DalekJS 698
23 autochecker 597

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