Top 23 JavaScript Testing Projects
-
nodebestpractices
:white_check_mark: The Node.js best practices list (February 2021)
6. Node.js Best Practices (Optional but important)
-
Cypress
Fast, easy and reliable testing for anything that runs in a browser.
While unit tests are good for checking smaller bits of code, end-to-end tests are really good at checking the application as a whole in the browser. Vue CLI comes with built-in support for Cypress, an end-to-end test runner. We'll also use Cypress for this purpose.
-
Scout
Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
-
mocha
☕️ simple, flexible, fun javascript test framework for node.js & the browser
mocha
-
Enzyme
JavaScript Testing utilities for React
-
ava
Node.js test runner that lets you develop with confidence 🚀
-Jest -Enzyme -Sinon -Mocha -Chai -AVA -Tape
-
jasmine
Simple JavaScript testing framework for browsers and node.js
Project mention: Nightwatch Vs Protractor: Which Testing Framework Is Right For You? | dev.to | 2021-02-08Afterward, it is better to scrutinize the compatibility notes in the Protractor README to make certain your Node.js version is perfectly compatible with this framework. However, by default, this framework uses Jasmine for its test interface.
-
react-testing-library
🐐 Simple and complete React DOM testing utilities that encourage good testing practices.
-
volkswagen
:see_no_evil: Volkswagen detects when your tests are being run in a CI server, and makes them pass.
Project mention: Esther Duflo : "Il y aura d’autres catastrophes, notamment climatiques, si nous ne faisons pas un effort" | reddit.com/r/france | 2021-02-15Bonus pour les dev.
-
javascript-testing-best-practices
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (January 2021)
-
nightwatch
End-to-end testing framework written in Node.js and using the Webdriver API
-
Detox
Gray box end-to-end testing and automation framework for mobile apps
Detox: Gray box end-to-end testing and automation framework for mobile apps.
-
tape
tap-producing test harness for node and browsers
Project mention: What are some popular/suggested NPM packages for unit testing coverage? | reddit.com/r/learnjavascript | 2021-01-25Tape is a very lightweight test harness for Node. I don't believe it has any code coverage feature. I may ask them if there are separate NPM packages to measure code coverage that are compatible with Tape.
-
nyc
the Istanbul command line interface
-
qunit
🔮 An easy-to-use JavaScript unit testing framework.
-
axe-core
Accessibility engine for automated Web UI testing
Project mention: Creating a Fast ⚡ and Beautiful 🌼 Portfolio Website using HTML, CSS 🎨, Eleventy ⑪ and Netlify | dev.to | 2021-02-23Use automated tools like Lighthouse, axe, and your browser's developer tools to find issues and errors early to ensure your site does not completely fail when it comes to speed, usability and accessibility.
-
CodeceptJS
Supercharged End 2 End Testing Framework for NodeJS
Using a service like BrowserStack you can take your local automation tests to the skies. This is made possible by directing CodeceptJS to point to BrowserStack instead of running locally.
-
pa11y
Pa11y is your automated accessibility testing pal
Pa11y - automated accessibility testing
-
toxy
Hackable HTTP proxy for resiliency testing and simulated network conditions
-
maildev
:mailbox: SMTP Server + Web Interface for viewing and testing emails during development.
In my case, I used docker-compose to do this, but please read accordingly. Of course, you can also use Docker commands to run it, and even if you don't have Docker environment, you can install and use it with npm command. For more information, please look at official document here .
-
power-assert
Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API.
-
trevor
🚦 Your own mini Travis CI to run tests locally
-
loadtest
Runs a load test on the selected URL. Easy to extend minimally for your own ends.
-
cypress-example-recipes
Various recipes for testing common scenarios with Cypress
Project mention: Client suddenly adopted Cypress while I have no base knowledge of Javascript or Cypress itself | reddit.com/r/softwaretesting | 2021-02-02Aside from the basic documentation on their website, I would also recommend reading through their kitchen sink examples. They're available on Github and on their site's documentation. I highly recommend reading the provided documentation top to bottom to really understand what the framework can provide and the testing philosophy the Cypress team took when building it. In addition, the Examples section on the Cypress website compiles a healthy amount of tutorial videos which have a ton of helpful information.
Index
What are some of the best open-source Testing projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | nodebestpractices | 60,881 |
2 | Cypress | 27,812 |
3 | mocha | 20,272 |
4 | Enzyme | 19,405 |
5 | ava | 18,751 |
6 | jasmine | 15,019 |
7 | react-testing-library | 13,927 |
8 | volkswagen | 11,331 |
9 | javascript-testing-best-practices | 10,754 |
10 | nightwatch | 10,613 |
11 | Detox | 7,647 |
12 | tape | 5,441 |
13 | nyc | 4,530 |
14 | qunit | 3,867 |
15 | axe-core | 3,548 |
16 | CodeceptJS | 3,283 |
17 | pa11y | 2,845 |
18 | toxy | 2,677 |
19 | maildev | 2,671 |
20 | power-assert | 2,589 |
21 | trevor | 2,164 |
22 | loadtest | 2,050 |
23 | cypress-example-recipes | 1,803 |