Top 23 Testing Open-Source Projects
-
puppeteer
Headless Chrome Node.js API
Project mention: Programmatically audit with Lighthouse and performance budgets | dev.to | 2021-03-02The example implementation uses Puppeteer, as this would allow us to interact and navigate before beginning the audit. The audit method returns the results including metrics that have not met the budget requirements, allowing us to fail a build and/or report metrics.
-
nodebestpractices
:white_check_mark: The Node.js best practices list (February 2021)
This repo also contains a nice list of best Node.js practices.
-
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.
-
storybook
📓 The UI component explorer. Develop, document, & test React, Vue, Angular, Web Components, Ember, Svelte & more!
Project mention: Breaking down a very large re-design project. What's your process? | reddit.com/r/UI_Design | 2021-03-02Since you've already done the work to create a design system, I would encourage the client to allocate engineering resources towards implementing your design system in a generalized way as a component library, even going so far as to create some component documentation like storybook. This way, the redesign of each flow will be quick, painless, and without need for pixel perfect designs. This should make some redesigns so obvious they won't need your intervention. Others might only need wireframes, and only a few should require a full design. It will also enforce good design with code, even after you move on, by making it hard to break rules and easy for lazy engineers to use good design rather than building their own creations.
-
jest
Delightful JavaScript Testing.
In the past I've worked on React component libraries and used tools like Storybook to develop them. Testing these is pretty easy - I tend to use mostly react-testing-library and jest.
-
PHPT
The PHP Interpreter
The PHP manual at www.php.net tip, as you are learning and you see a function you are not sure what it will do, try just adding the function after that url. ie. What does sprintf() do? www.php.net/sprintf will take you to the page for it, and most have very good information with examples
-
Cypress
Fast, easy and reliable testing for anything that runs in a browser.
OK, so what does that have to do with Cypress?
-
Postwoman
👽 A free, fast and beautiful API request builder used by 150k+ developers. https://hoppscotch.io
Project mention: Congrats to the Hoppscotch API testing tool on reaching 27000 stars on GitHub! | reddit.com/r/vuejs | 2021-02-13Yes this project is called Postwoman until August 2020. Now it's rebranded to Hoppscotch. And the official URL is https://hoppscotch.io
-
Playwright
Node.js library to automate Chromium, Firefox and WebKit with a single API
-
mocha
☕️ simple, flexible, fun javascript test framework for node.js & the browser
If you've worked with mocha and chai, the test spec should look familiar. Cypress has leveraged familiar automation syntax to provide some level of familiarity to folks that have worked with those tools.
-
Selenium WebDriver
A browser automation framework and ecosystem.
The enthusiastic Selenium user-community will keep a close watch on what’s in store with the super-improved Grid in Selenium 4.
-
Enzyme
JavaScript Testing utilities for React
-
ava
Node.js test runner that lets you develop with confidence 🚀
-Jest -Enzyme -Sinon -Mocha -Chai -AVA -Tape
-
PHPUnit
The PHP Unit Testing framework.
https://github.com/sebastianbergmann/phpunit with https://github.com/wizaplace/phpunit-slicer assimilated into our source to parallelize the >13k test suite better the tests are a beast, mix of pure unit, some function and many integration tests (postgres, elasticsearch)
-
locust
Scalable user load testing tool written in Python
Been using https://locust.io/ in the past.
-
jasmine
Simple JavaScript testing framework for browsers and node.js
So this is new for me. I normally write posts explaining things I've been doing in a daily basis for many years. However, I started working for a new client somethings like a month ago. I'll talk about the team organization at some point, in another post, because I really like how these guys work. However, this post is about end-to-end tests. In the team I'm now taking part of, everyone is responsible for writing e2e tests for iOS/Android/Web. I've never done that before, I have to confess. I've done Unit tests many many times, but I've never written so many integration tests. Appium, WebdriverIO and Jasmine are the tools this team has chosen to write these tests, and for good reasons. Let's first distinguish briefly among the different types of automated tests. Particularly between e2e and unit tests.
-
react-testing-library
🐐 Simple and complete React DOM testing utilities that encourage good testing practices.
-
Gor
GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.
Not OP, but that is the idea. I use this tool for it, as it is dead-simple to get running and fairly configurable: https://github.com/buger/goreplay
-
learn-go-with-tests
Learn Go with test-driven development
Yeah I noticed this. Annoyingly it renders fine in github https://github.com/quii/learn-go-with-tests/blob/main/intro-to-generics.md#next-generic-data-types
-
Catch
A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD - using C++11, C++14, C++17 and later (or C++03 on the Catch1.x branch)
-
Testify
A toolkit with common assertions and mocks that plays nicely with the standard library
There is a nice package called testify: https://github.com/stretchr/testify
-
faker
Faker is a Python package that generates fake data for you. (by joke2k)
To test a database, first you need some data. So I created a python script and used Faker to create the following CSV files:
-
Mockito
Most popular Mocking framework for unit tests written in Java
According to the original definitions introduced by Gerard Meszaros, a mock is a very specific type of substitutes which is used to verify interactions between the system under test and its dependencies. Nowadays, however, the distinction has become a bit blurry, as this term is commonly used to refer to a broader class of objects created with frameworks such as Moq, Mockito, Jest, and others.
-
volkswagen
:see_no_evil: Volkswagen detects when your tests are being run in a CI server, and makes them pass.
Project mention: auchenberg/volkswagen - 🙈 Volkswagen detects when your tests are being run in a CI server, and makes them pass | reddit.com/r/bag_o_news | 2021-02-26
Index
What are some of the best open-source Testing projects? This list will help you:
Project | Stars | |
---|---|---|
1 | puppeteer | 69,024 |
2 | nodebestpractices | 61,121 |
3 | storybook | 58,775 |
4 | jest | 34,306 |
5 | PHPT | 29,483 |
6 | Cypress | 27,812 |
7 | Postwoman | 27,358 |
8 | Playwright | 22,054 |
9 | mocha | 20,298 |
10 | Selenium WebDriver | 19,916 |
11 | Enzyme | 19,420 |
12 | ava | 18,751 |
13 | PHPUnit | 17,108 |
14 | locust | 15,422 |
15 | jasmine | 15,028 |
16 | react-testing-library | 13,968 |
17 | Gor | 13,905 |
18 | learn-go-with-tests | 12,899 |
19 | Catch | 12,784 |
20 | Testify | 12,653 |
21 | faker | 12,137 |
22 | Mockito | 11,530 |
23 | volkswagen | 11,339 |