JavaScript Test

Open-source JavaScript projects categorized as Test

Top 23 JavaScript Test Projects

  1. javascript-testing-best-practices

    πŸ“—πŸŒ 🚒 Comprehensive and exhaustive JavaScript & Node.js testing best practices (April 2024)

  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management β€” all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. mocha

    β˜•οΈ simple, flexible, fun javascript test framework for node.js & the browser

    Project mention: Most Effective Approaches for Debugging Applications | dev.to | 2025-04-27

    Large-scale changes to fix a bug often introduce unintended side effects, making incremental fixes a safer approach. Robbin Schuchmann, Co-Founder of EOR Overview, advises, β€œApplying fixes incrementally is the most reliable way to correct bugs in applications.” By adjusting one variable or function at a time and validating each change with tools like pytest or Mocha, developers ensure fixes are effective without destabilizing the system. This aligns with test-driven development (TDD), which a 2022 IEEE study found reduces defect rates by 15%. Incremental fixes also simplify rollbacks, preserving stability.

  4. Enzyme

    JavaScript Testing utilities for React

    Project mention: Top React Testing Libraries in 2025 | dev.to | 2025-03-31

    Enzyme is a widely-used testing utility that provides robust tools for interacting with and inspecting React components. Its API supports shallow, full, and static rendering, enabling developers to test components in isolation or with their child components. Enzyme also allows testing lifecycle methods, making it ideal for applications with complex state and props interactions.

  5. react-testing-library

    🐐 Simple and complete React DOM testing utilities that encourage good testing practices.

    Project mention: Top React Testing Libraries in 2025 | dev.to | 2025-03-31

    React Testing Library tests React components by simulating how users interact with them, rather than focusing on the implementation details. This library prioritizes the principle of testing components as users interact with them, making tests more resilient to code changes. By avoiding reliance on the internals of the components, it ensures that your tests remain focused on functionality and user experience. It integrates well with Jest and provides utilities to query, simulate interactions, and validate DOM updates effectively.

  6. stf

    Control and manage Android devices from your browser.

  7. TestCafe

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

    Project mention: Free Cross Browser Testing Tools to pick in 2025 | dev.to | 2024-11-20

    7. TestCafe TestCafe is a powerful open-source testing tool designed specifically for web applications. It simplifies the testing process by allowing developers to write tests in JavaScript or TypeScript without requiring browser plugins. TestCafe runs tests directly in the browser and supports a wide range of browsers without additional configurations. It provides an intuitive API for defining tests, making it accessible for both novice and experienced testers.

  8. warriorjs

    🏰 An exciting game of programming and Artificial Intelligence

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. gremlins.js

    Monkey testing library for web apps and Node.js

  11. redux-mock-store

    A mock store for testing Redux async action creators and middleware.

  12. tap

    Test Anything Protocol tools for node

    Project mention: Matanuska ADR 017 - Vitest, Vite, Grabthar, Oh My! | dev.to | 2025-02-09

    When I started Matanuska, I chose Node Tap as my test framework. Tap was my favorite test framework in Node for a very long time. It's historically had an API that's less "magical" than some of the other frameworks out there, it outputs TAP by default - always a bonus - and it has pretty high-level reporting.

  13. start-server-and-test

    Starts server, waits for URL, then runs test command; when the tests end, shuts down server

  14. vue-testing-library

    🦎 Simple and complete Vue.js testing utilities that encourage good testing practices.

  15. jest-in-case

    Jest utility for creating variations of the same test

  16. chakram

    REST API test framework. BDD and exploits promises

    Project mention: Essential Free Api Testing Tools Every Developer Should Know | dev.to | 2024-10-15

    Chakram is a REST JavaScript API testing tools framework with a BDD testing style and fully exploiting promises. It is designed for HTTP assertions and provides a simple and readable DSL (Domain-Specific Language) that makes it easy for developers and testers to write tests.

  17. xv

    πŸ™…β€β™€οΈ ✌️ fastest test runner

  18. chai-enzyme

    Chai.js assertions and convenience functions for testing React Components with enzyme

  19. Hermione

    Testplane (ex-hermione) browser test runner based on mocha and wdio

  20. citgm

    Canary in the Gold Mine

  21. zora

    Lightest, yet Fastest Javascript test runner for nodejs and browsers

  22. jest-html-reporters

    🌈 Reporter for jest test framework. 🌈

    Project mention: Sharding Jest tests. Harder than it should be? | dev.to | 2024-12-19

    No feasible solutions exist to merge HTML reports, so we ended up creating an HTML "landing page" with clickable links to reports generated by each shard. At first, I began to experiment with jest-stare, but my dedication to dark mode in the reports was too much to overcome! At the same time, using this library also meant outputting test results to JSON, then merging those JSON results by hand, then converting those to an HTML report, and then trying to produce some kind of custom dark mode styling. I felt like I was sinking too much time there, and since we were already producing reports with jest-html-reporters, the quickest way out was to just serve up the individual reports.

  23. redux-test-recorder

    a redux middleware to automatically generate tests for reducers through ui interaction

  24. log-process-errors

    Show some ❀️ to Node.js process errors

  25. twist

    Declarative JavaScript Testing

  26. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit 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 Test discussion

Log in or Post with

JavaScript Test related posts

  • Next.js Testing Guide: Unit and E2E Tests with Vitest & Playwright

    4 projects | dev.to | 3 Feb 2025
  • A Developer’s Guide to Dependency Mapping

    2 projects | dev.to | 1 Jan 2025
  • staging and QA will not save your systems

    7 projects | dev.to | 20 Dec 2024
  • Sharding Jest tests. Harder than it should be?

    1 project | dev.to | 19 Dec 2024
  • Matanuska ADR 001 - Encoding Language

    3 projects | dev.to | 11 Dec 2024
  • Free Cross Browser Testing Tools to pick in 2025

    2 projects | dev.to | 20 Nov 2024
  • Cypress for the absolute beginner

    2 projects | dev.to | 11 Nov 2024
  • A note from our sponsor - InfluxDB
    influxdata.com | 28 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more β†’

Index

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

# Project Stars
1 javascript-testing-best-practices 24,340
2 mocha 22,755
3 Enzyme 19,936
4 react-testing-library 19,255
5 stf 13,462
6 TestCafe 9,855
7 warriorjs 9,475
8 gremlins.js 9,047
9 redux-mock-store 2,502
10 tap 2,382
11 start-server-and-test 1,549
12 vue-testing-library 1,100
13 jest-in-case 1,062
14 chakram 908
15 xv 828
16 chai-enzyme 785
17 Hermione 772
18 citgm 576
19 zora 540
20 jest-html-reporters 528
21 redux-test-recorder 493
22 log-process-errors 469
23 twist 380

Sponsored
Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management β€” all implemented with just a few lines of code. Start building today.
www.civic.com

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?