Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more! Learn more →
Top 23 JavaScript Testing Framework Projects
-
You might have noticed the e2e folder. That's a fully-functioning setup of Cypress for doing integration-level or even full end-to-end tests.
-
Tests are usually written the same way as in web2, using libraries like Mocha and Chai. Truffle also has built-in support for tests.
-
Klotho
AWS Cloud-aware infrastructure-from-code toolbox [NEW]. Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)
-
Ava for a simpler environment than Jest, which I usually use. I need to check how to mock ESM with it, though.
-
Project mention: How to Confidently Write Unit Tests using React Testing Library | dev.to | 2022-12-01
So If you have experience with enzyme testing, where you might be checking the value of state once you click any button or you might be checking the prop value If something changes.
-
Nightmare JS is a web automation library designed for websites that don’t own APIs and want to automate browsing tasks. Nightmare JS is mostly used by developers for UI testing and crawling. It can also help mimic user actions(like goto, type, and click) with an API that feels synchronous for each block of scripting.
-
Learn more about Jasmine and Karma
-
Karma
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
Project mention: A guide for technical writers on JavaScript Testing Libraries | dev.to | 2022-08-13
NightWatchJS
-
Project mention: Why TestCafe is the Perfect Solution for Automating Browser Testing in Your Web Project | dev.to | 2023-01-13
Official website: Testcafe.io
-
Project mention: Need help writing a jest test that mocks an API call which will update state | reddit.com/r/react | 2022-09-29
You can use sinon js to create a mock version of your http library (axios) that responds with the data you’re expecting.
-
Protractor repo (link)
-
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: Typescript boilerplate test configuration with mocha, chai and sinon | dev.to | 2022-08-17Let's configure tests with mocha, chai and sinon on Typescript in a few steps.
-
-
QUNIT: QUnit was first installed on NPM, which is a javascript testing framework. It’s a javascript based unit testing framework. For more info: https://qunitjs.com/
-
The Open Source library Taiko can detect elements based on relation.
-
-
-
-
blanket
blanket.js is a simple code coverage library for javascript. Designed to be easy to install and use, for both browser and nodejs.
-
Frint: another modular framework for building component-based applications. Integrates with React, Vue, and Preact.
-
-
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
JavaScript Testing Frameworks related posts
- Common Pitfalls in Angular Component Testing
- Creating a website brand with ChatGPT, Stable Diffusion, React and NodeJS 🤯
- The Most Effective Tutorial on Tests You Will Ever Read
- Uma introdução ao Protractor - Angular Testing E2E
- An efficient way to build your serverless microservices. Part 1. Local Development.
- Why TestCafe is the Perfect Solution for Automating Browser Testing in Your Web Project
- Tech stack discussion
-
A note from our sponsor - Appwrite
appwrite.io | 28 Jan 2023
Index
What are some of the best open-source Testing Framework projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | Cypress | 42,413 |
2 | mocha | 21,858 |
3 | ava | 20,208 |
4 | Enzyme | 19,964 |
5 | Nightmare | 19,330 |
6 | jasmine | 15,490 |
7 | karma | 11,820 |
8 | nightwatch | 11,292 |
9 | TestCafe | 9,542 |
10 | Sinon.JS | 9,230 |
11 | Protractor | 8,792 |
12 | istanbul | 8,591 |
13 | chai | 7,810 |
14 | zombie | 5,638 |
15 | qunit | 3,988 |
16 | taiko | 3,216 |
17 | slimerjs | 2,981 |
18 | proxyquire | 2,713 |
19 | expect.js | 2,110 |
20 | blanket | 1,409 |
21 | FrintJS | 733 |
22 | DalekJS | 703 |
23 | Nullstack | 698 |