The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 Testing Framework Open-Source Projects
-
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.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
nightwatch
Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
-
pytest
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
-
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.
-
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.
1.Puppeteer: Puppeteer is a Node library that provides a high-level API to control headless Chrome or Chromium using the DevTools Protocol. Key Features: More control over Chrome. Enables web scraping. Allows taking screenshots and generating PDFs for UI testing. Measures load times through the Chrome Performance Analysis tool
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.
GitHub | Website
github.com/stretchr/testify
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!
Project mention: Testing React Components: A Comprehensive Overview of Testing Libraries | dev.to | 2023-10-15Enzyme is another popular testing utility for React. It allows you to manipulate and traverse React components' output, making it easier to write comprehensive tests.
Jasmine is a behavior-driven development framework for testing JavaScript code. It's known for its clean, straightforward syntax and does not rely on any other JavaScript frameworks or a Document Object Model (DOM). Jasmine is often praised for its simplicity and ease of use in both frontend and backend testing environments.
Run ng test to execute the unit tests via Karma.
6.NightwatchJS: NightwatchJS is a Node.js-based end-to-end testing framework. Key Features: Simplifies writing test scripts using a simple syntax. Supports parallel test execution. Integrates with Selenium WebDriver for cross-browser testing
In this blog post I want to demonstrate how my lab equipment such as a lab power supply or a digital multimeter (DMM) have been integrated into some pytest-based tests. Would love to get your feedback and thoughts! 🚀
Project mention: Unit Testing in Node.js and TypeScript: A Comprehensive Guide with Jest Integration | dev.to | 2024-03-03If 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:
Project mention: Beautiful is better than ugly, but my beginner code is horrible | dev.to | 2023-10-21Well, I work with software quality and despite not having a strong foundation in automation, one fine day I decided to make a change. I have been working with Robot Framework for a few months - and that's when I got a taste of the power of python. Some time later, I dabbled a little with Cypress and Playwright, always using javascript.
Project mention: Introduction to Cypress and UI Test Automation | /r/u_Ok-Examination-4768 | 2023-05-23Cypress 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).
I have always liked to use the similar GoConvey tool for automatic test runs during development, but it has definitely started to “show its age” and since Go 1.20 it hasn’t been able to parse code coverage correctly. So, I decided to dive into making my own tool to replace it for me.
Ginkgo: a testing framework based on the concept of "Behavior Driven Development" (BDD)
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
Testing Frameworks related posts
- Learn Automated Testing At Home: A Beginner's Guide
- Top 10 Tools Every React Developer Needs in 2024
- XZ: A Microcosm of the interactions in Open Source projects
- API Testing with Clerk and Express
- Introdução a testes unitários no desenvolvimento de software
- JS Toolbox 2024: Bundlers and Test Frameworks
- JS Toolbox 2024: Essential Picks for Modern Developers Series Overview
-
A note from our sponsor - WorkOS
workos.com | 19 Apr 2024
Index
What are some of the best open-source Testing Framework projects? This list will help you:
Project | Stars | |
---|---|---|
1 | puppeteer | 86,704 |
2 | Cypress | 46,129 |
3 | jest | 43,553 |
4 | mocha | 22,412 |
5 | Testify | 21,981 |
6 | ava | 20,620 |
7 | Enzyme | 19,967 |
8 | Nightmare | 19,510 |
9 | jasmine | 15,714 |
10 | karma | 11,919 |
11 | nightwatch | 11,714 |
12 | pytest | 11,329 |
13 | TestCafe | 9,748 |
14 | Sinon.JS | 9,553 |
15 | Robot Framework | 9,011 |
16 | Protractor | 8,758 |
17 | istanbul | 8,680 |
18 | GoConvey | 8,093 |
19 | chai | 8,062 |
20 | ginkgo | 7,900 |
21 | hypothesis | 7,254 |
22 | intern | 4,366 |
23 | qunit | 4,006 |