Top 23 Testing Open-Source Projects
Headless Chrome Node.js APIProject mention: Could you build a website that leverages Node to scrape another specific website? | reddit.com/r/AskProgramming | 2021-10-16
Puppeteer to visit and scrape the imgur page (each one of those data points has a clear class/id/title prop to find it by).
:white_check_mark: The Node.js best practices list (September 2021)Project mention: A reflection about scalable project architectures | reddit.com/r/node | 2021-09-30
Regarding structure, check out node best practices, where structuring by component (aka structuring by feature or module) is recommended, so in node.js it's already known that structuring by type not scales well, disregarding of the project size.
📓 The UI component explorer. Develop, document, & test React, Vue, Angular, Web Components, Ember, Svelte & more!Project mention: Serie Storybook: Escribiendo componentes - .stories.jsx vs stories.mdx | dev.to | 2021-10-14
Hoje em dia o padrão para testes unitários React é com Jest + react-testing-library. Se você usa create-react-app eles já vem configurados.
Fast, easy and reliable testing for anything that runs in a browser.Project mention: É muito difícil (ou demorado) aprender a fazer testes unitários em aplicações web? Alguma dica sobre o assunto? | reddit.com/r/brdev | 2021-10-15
👽 Open source API development ecosystem https://hoppscotch.ioProject mention: GitHub - hoppscotch/hoppscotch: 👽 Open source API development ecosystem https://hoppscotch.io | reddit.com/r/bag_o_news | 2021-10-16
The PHP InterpreterProject mention: How Youtube uses C++ ? | reddit.com/r/LiveOverflow | 2021-10-17
Run Linux Software Faster and Safer than Linux with Unikernels.
Node.js library to automate Chromium, Firefox and WebKit with a single APIProject mention: 7 Costly Mistakes That One Needs to Avoid in Angular Test Automation | reddit.com/r/Angular2 | 2021-10-15
Use Playwright for better end-2-end testing.
A browser automation framework and ecosystem.Project mention: After Almost 3 Years Of Development, Selenium v4.0.0 Was Finally Released | news.ycombinator.com | 2021-10-13
Another popular tool is Enzyme, but many believe that it can lead to bad testing practices. The main concern is that Enzyme offers extra utilities that allow you to test the internal workings of a component (e.g. read and set state of the component). The team at React tests React; therefore, there is no need for you to test React’s functionality such as state, componentDidMount, etc. The same goes for other libraries you may use.
But this commit broken the unit tests. I use Ava (the only test runner that allows for async tests, so I can write unit tests in my own language) and snapshots for testing the list structure in few unit tests, and somehow the snapshots differ before and after adding iterator to Lists. I still need to investigate why and try to create simple reproduction for this issue on GitHub avajs/ava#2811.
The PHP Unit Testing framework.Project mention: PHP global functions: how they affect code extensibility, testability and modularity | dev.to | 2021-09-29
Solution with dependency injection described above gives us opportunity to choose custom logger object. With the help of testing framework such as PHPUnit we can create stub object instead of regular logger object, which allows us to freely redefine or suppress object functionality for purposes of the test and also watch which methods on the logger object has been called from inside of tested module (mocking). Neither of these features can be achieved when implementing logging with a global function.
Scalable user load testing tool written in PythonProject mention: load testing fastapi | reddit.com/r/FastAPI | 2021-09-20
I use https://locust.io/ for load testing since it's also Python and it's pretty simple to spin up quick API tests.
Learn Go with test-driven developmentProject mention: My journey to writing my blog in Go | dev.to | 2021-04-14
Go through Learn Go With Tests to learn how to test the code correctly in Go.
🐐 Simple and complete React DOM testing utilities that encourage good testing practices.Project mention: Getting Started with React Cosmos | dev.to | 2021-08-23
There are many ways to test component UIs and some testing frameworks help us achieve that, to mention but a few react-testing-library, where we write tests to check what a component has, for example, if we are testing a form component, we will write tests to check it a button is rendered, if there are input and/or select tags, etc and we usually see the results in our terminals but with React cosmos, we have a visual way to test our components (Visual TDD) which makes testing easier.
This week for my open source contribution I decided to tackle a bigger project and a slightly more complex issue. Last week, I removed commented code, this week I added some code. For my repository, I chose to fork Jasmine, and the issue involved adding some extra descriptions to an error message regarding "expectations" and asynchronous tasks in the Jasmine framework.
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.Project mention: GoReplay - test your system with real data | reddit.com/r/programming | 2021-09-19
A toolkit with common assertions and mocks that plays nicely with the standard libraryProject mention: I'm curious about developer dependencies for library projects | reddit.com/r/golang | 2021-10-16
There is a way to put codegen code in a separate folder and create a separate go.mod file there. Like stretchr did. https://github.com/stretchr/testify/tree/master/_codegen
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)Project mention: How should I make tests? | reddit.com/r/cpp_questions | 2021-09-26
Maybe you would be interested in Catch2. I have been using it in all my projects, its pretty good.
Faker is a Python package that generates fake data for you. (by joke2k)
Most popular Mocking framework for unit tests written in JavaProject mention: JVM Testing Newsletter | June 2021 | dev.to | 2021-07-02
Mockito 3.11.* releases
What are some of the best open-source Testing projects? This list will help you:
Are you hiring? Post a new remote job listing for free.