logo
Tech Logo

JavaScript Testing and Automation Frameworks

Tools for writing and running test suites and automating the flow
Subscribe to receive new updates to JavaScript
JavaScript>Testing

Acceptance Testing

1
Library Logo
cucumber-js
Cucumber for JavaScript
MIT LicenseTypeScriptREADME
1.1K
41
4.8K
7 months ago
13 years
Top+ Add a listing

Accessibility Testing

1
Library Logo
axe-core
Accessibility engine for automated Web UI testing
Mozilla Public License 2.0JavaScriptREADME
753
252
5.2K
6 months ago
9 years
Top+ Add a listing

API Mocking

7
SORT BY
Library Logo
json-server
Get a full fake REST API with zero coding in less than 30 seconds (seriously)
MIT LicenseJavaScriptREADME
6.7K
666
67.9K
6 months ago
10 years
Library Logo
msw
Seamless REST/GraphQL API mocking library for browser and Node.js.
MIT LicenseTypeScriptREADME
401
92
12.9K
6 months ago
5 years
Library Logo
nock
HTTP server mocking and expectations library for Node.js
MIT LicenseJavaScriptREADME
789
80
12.2K
6 months ago
12 years
Library Logo
pollyjs
Record, Replay, and Stub HTTP Interactions.
Apache License 2.0JavaScriptREADME
393
36
9.9K
7 months ago
6 years
Library Logo
miragejs
A client-side server to build, test and share your JavaScript app
MIT LicenseJavaScriptREADME
171
194
5.1K
9 months ago
5 years
Library Logo
mockit
A tool to quickly mock out end points, setup delays and more...
MIT LicenseJavaScriptREADME
76
64
1.6K
10 months ago
5 years
Library Logo
http-fake-backend
Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
MIT LicenseJavaScriptREADME
21
6
282
almost 2 years ago
8 years
Top+ Add a listing

API Testing

3
SORT BY
Library Logo
supertest
🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
MIT LicenseJavaScriptREADME
781
173
13.1K
10 months ago
12 years
Library Logo
dredd
Language-agnostic HTTP API Testing Tool
MIT LicenseJavaScriptREADME
304
255
4.0K
6 months ago
10 years
Library Logo
pact-js
JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.
OtherTypeScriptREADME
334
86
1.4K
6 months ago
8 years
Top+ Add a listing

Benchmarking

1
Library Logo
autocannon
fast HTTP/1.1 benchmarking tool written in Node.js
MIT LicenseJavaScriptREADME
321
44
7.1K
7 months ago
8 years
Top+ Add a listing

Code Coverage Tools

4
SORT BY
Library Logo
nyc
the Istanbul command line interface
ISC LicenseJavaScriptREADME
386
175
5.4K
7 months ago
9 years
Library Logo
blanket
blanket.js is a simple code coverage library for javascript. Designed to be easy to install and use, for both browser and nodejs.
OtherJavaScriptREADME
193
121
1.4K
about 1 year ago
11 years
Library Logo
istanbuljs
monorepo containing the various nuts and bolts that facilitate istanbul.js test instrumentation
JavaScriptREADME
233
145
927
6 months ago
7 years
Library Logo
JSCover
JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage
GNU General Public License v2.0JavaREADME
89
5
395
6 months ago
11 years
Top+ Add a listing

Load Testing

2
SORT BY
Library Logo
artillery
🌩 Cloud-scale serverless load testing, as easy as 1-2-3. No DevOps needed. Never fail to scale!
Mozilla Public License 2.0JavaScriptREADME
489
406
6.8K
6 months ago
9 years
Library Logo
loadtest
Runs a load test on the selected URL. Easy to extend minimally for your own ends.
MIT LicenseJavaScriptREADME
209
25
2.4K
almost 2 years ago
11 years
Top+ Add a listing

Marble Testing

1
Library Logo
rxjs-marbles
An RxJS marble testing library for any test framework
MIT LicenseTypeScriptREADME
17
7
299
10 months ago
7 years
Top+ Add a listing

Mocks, Stubs and Spies

4
SORT BY
Library Logo
sinon
Test spies, stubs and mocks for JavaScript.
OtherJavaScriptREADME
812
43
9.4K
7 months ago
14 years
Library Logo
testdouble.js
A minimal test double library for TDD with JavaScript
MIT LicenseJavaScriptREADME
151
47
1.4K
9 months ago
8 years
Library Logo
atmo
✔ī¸ Mock data for your prototypes and demos. Remote deployments to Zeit now.
TypeScriptREADME
46
5
812
over 2 years ago
8 years
Library Logo
smoke
💨 Simple yet powerful file-based mock server with recording abilities
MIT LicenseJavaScriptREADME
14
3
166
7 months ago
5 years
Top+ Add a listing

Mutation Testing

1
Library Logo
stryker-js
Mutation testing for JavaScript and friends
Apache License 2.0TypeScriptREADME
229
84
2.4K
6 months ago
8 years
Top+ Add a listing

Network Testing

1
Library Logo
toxy
Hackable HTTP proxy for resiliency testing and simulated network conditions
MIT LicenseJavaScriptREADME
100
15
2.7K
almost 2 years ago
9 years
Top+ Add a listing

Robotic Process Automation Tool

1
Library Logo
TagUI
Free RPA tool by AI Singapore
Apache License 2.0JavaScriptREADME
558
62
5.0K
7 months ago
7 years
Top+ Add a listing

Smoke Testing

1
Library Logo
artillery
🌩 Cloud-scale serverless load testing, as easy as 1-2-3. No DevOps needed. Never fail to scale!
Mozilla Public License 2.0JavaScriptREADME
489
406
6.8K
6 months ago
9 years
Top+ Add a listing

Task / Test Runner

6
SORT BY
Library Logo
grunt
Grunt: The JavaScript Task Runner
OtherJavaScriptREADME
1.5K
160
12.2K
8 months ago
12 years
Library Logo
karma
Spectacular Test Runner for JavaScript
MIT LicenseJavaScriptREADME
1.8K
355
11.9K
7 months ago
12 years
Library Logo
uvu
uvu is an extremely fast and lightweight test runner for Node.js and the browser
MIT LicenseJavaScriptREADME
96
76
2.8K
9 months ago
4 years
Library Logo
taskr
A fast, concurrency-focused task automation tool.
MIT LicenseJavaScriptREADME
86
16
2.5K
about 3 years ago
9 years
Library Logo
trevor
đŸšĻ Your own mini Travis CI to run tests locally
MIT LicenseJavaScriptREADME
81
12
2.1K
about 4 years ago
8 years
Library Logo
testen
✔ī¸ Run tests for multiple versions of Node.js in local env.
MIT LicenseJavaScriptREADME
12
3
175
about 2 years ago
8 years
Top+ Add a listing

Test Utils

9
SORT BY
Library Logo
headless-recorder
Chrome extension that records your browser interactions and generates a Playwright or Puppeteer script.
MIT LicenseJavaScriptREADME
730
1
14.8K
about 1 year ago
5 years
Library Logo
rrweb
record and replay the web
MIT LicenseTypeScriptREADME
1.2K
171
14.2K
6 months ago
5 years
Library Logo
pageres
Capture website screenshots
MIT LicenseTypeScriptREADME
782
19
9.6K
over 1 year ago
10 years
Library Logo
rewire
Easy monkey-patching for node.js unit tests
MIT LicenseJavaScriptREADME
148
58
3.1K
7 months ago
12 years
Library Logo
power-assert
Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API.
MIT LicenseJavaScriptREADME
68
43
2.8K
about 1 year ago
10 years
Library Logo
proxyquire
🔮 Proxies nodejs require in order to allow overriding dependencies during testing.
MIT LicenseJavaScriptREADME
111
10
2.7K
about 1 year ago
12 years
Library Logo
capture-website
Capture screenshots of websites
MIT LicenseJavaScriptREADME
128
26
1.7K
over 1 year ago
5 years
Library Logo
testcontainers-node
Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
MIT LicenseTypeScriptREADME
120
6
1.2K
6 months ago
6 years
Library Logo
mochify.js
☕ī¸ TDD with Browserify, Mocha, Headless Chrome and WebDriver
MIT LicenseJavaScriptREADME
61
19
345
7 months ago
10 years
Top+ Add a listing

Testing Frameworks

9
SORT BY
Library Logo
mocha
☕ī¸ simple, flexible, fun javascript test framework for node.js & the browser
MIT LicenseJavaScriptREADME
3.0K
302
22.1K
6 months ago
13 years
Library Logo
ava
Node.js test runner that lets you develop with confidence 🚀
MIT LicenseJavaScriptREADME
1.5K
57
20.4K
6 months ago
9 years
Library Logo
jasmine
Simple JavaScript testing framework for browsers and node.js
JavaScriptREADME
2.3K
20
15.6K
6 months ago
15 years
Library Logo
nightwatch
End-to-end testing framework written in Node.js and using the W3C Webdriver API
MIT LicenseJavaScriptREADME
1.1K
211
11.4K
6 months ago
12 years
Library Logo
tape
tap-producing test harness for node and browsers
MIT LicenseJavaScriptREADME
342
51
5.7K
7 months ago
11 years
Library Logo
intern
A next-generation code testing stack for JavaScript.
OtherTypeScriptREADME
323
140
4.4K
11 months ago
11 years
Library Logo
node-tap
Test Anything Protocol tools for node
ISC LicenseJavaScriptREADME
290
91
2.2K
6 months ago
13 years
Library Logo
peeky
A fast and fun test runner for Vite & Node 🐈ī¸ Powered by Vite ⚡ī¸
MIT LicenseTypeScriptREADME
17
22
683
4 months ago
3 years
Library Logo
peeky
A fast and fun test runner for Vite & Node 🐈ī¸ Powered by Vite ⚡ī¸
MIT LicenseTypeScriptREADME
17
22
683
4 months ago
3 years
Top+ Add a listing

UI Browser Testing

19
SORT BY
Library Logo
puppeteer
Node.js API for Chrome
Apache License 2.0TypeScriptREADME
9.0K
303
84.1K
6 months ago
7 years
Library Logo
playwright
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
Apache License 2.0TypeScriptREADME
2.9K
623
53.6K
6 months ago
4 years
Library Logo
cypress
Fast, easy and reliable testing for anything that runs in a browser.
MIT LicenseJavaScriptREADME
3.0K
1.4K
44.3K
6 months ago
9 years
Library Logo
phantomjs
Scriptable Headless Browser
BSD 3-Clause "New" or "Revised" LicenseC++README
5.8K
14
29.3K
about 1 year ago
13 years
Library Logo
nightmare
A high-level browser automation library.
JavaScriptREADME
1.2K
207
19.4K
7 months ago
10 years
Library Logo
testcafe
A Node.js tool to automate end-to-end web testing.
MIT LicenseJavaScriptREADME
690
143
9.7K
6 months ago
9 years
Library Logo
webdriverio
Next-gen browser and mobile automation test framework for Node.js
MIT LicenseTypeScriptREADME
2.3K
149
8.2K
6 months ago
12 years
Library Logo
BackstopJS
Catch CSS curve balls.
MIT LicenseJavaScriptREADME
599
523
6.4K
6 months ago
9 years
Library Logo
BackstopJS
Catch CSS curve balls.
MIT LicenseJavaScriptREADME
599
523
6.4K
6 months ago
9 years
Library Logo
zombie
Insanely fast, full-stack, headless browser testing using node.js
MIT LicenseJavaScriptREADME
558
202
5.7K
about 1 year ago
13 years
Library Logo
CodeceptJS
Supercharged End 2 End Testing Framework for NodeJS
MIT LicenseJavaScriptREADME
710
360
3.9K
6 months ago
8 years
Library Logo
taiko
A node.js library for testing modern web applications
MIT LicenseJavaScriptREADME
374
65
3.3K
9 months ago
6 years
Library Logo
qawolf
đŸē Create browser tests 10x faster
OtherTypeScriptREADME
128
0
3.2K
11 months ago
4 years
Library Logo
dom-testing-library
🐙 Simple and complete DOM testing utilities that encourage good testing practices.
MIT LicenseJavaScriptREADME
458
95
3.2K
7 months ago
6 years
Library Logo
slimerjs
A scriptable browser like PhantomJS, based on Firefox
OtherJavaScriptREADME
284
164
3.0K
11 months ago
11 years
Library Logo
remote-browser
A low-level browser automation framework built on top of the Web Extensions API standard.
OtherJavaScriptREADME
110
7
1.7K
over 5 years ago
6 years
Library Logo
loki
👁 Visual Regression Testing for Storybook
MIT LicenseJavaScriptREADME
155
111
1.7K
7 months ago
7 years
Library Logo
totoro
A simple and stable cross-browser testing tool. įŽ€å•į¨ŗ厚įš„表æĩč§ˆå™¨æĩ‹č¯•åˇĨå…ˇã€‚
JavaScriptREADME
101
4
567
almost 2 years ago
11 years
Library Logo
navit
Simple client testing from your scripts
MIT LicenseJavaScriptREADME
7
3
47
about 2 years ago
9 years
Top+ Add a listing

Unit Testing

3
SORT BY
Library Logo
jest
Delightful JavaScript Testing.
MIT LicenseTypeScriptREADME
6.4K
493
42.4K
6 months ago
10 years
Library Logo
chai
BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
MIT LicenseJavaScriptREADME
719
105
7.9K
6 months ago
12 years
Library Logo
qunit
🔮 An easy-to-use JavaScript unit testing framework.
MIT LicenseJavaScriptREADME
801
56
4.0K
6 months ago
15 years
Top+ Add a listing