unit-testing
Mockery is a project that creates mock implementations of Golang interfaces. It inspects source code and generates implementations of the interface that aid in testing.
In addition to providing a number of different styles of mocks, mockery also allows users to provide their own template files that will then be rendered using a set of template data, methods, and functions that provide comprehensive typing information about the Go interface in question.
GoMock is a mocking framework for the Go programming language.
Go Reference
gomock is a mocking framework for the Go programming language. It integrates well with Go's built-in testing package, but can be used in other contexts too.
This project originates from Google's golang/mock repo. Unfortunately, Google no longer maintains this project, and given the heavy usage of gomock project within Uber, we've decided to fork and maintain this going forward at Uber.
Thou Shalt Write Tests.
A toolkit with common assertions and mocks that plays nicely with the standard library.
Go code (golang) set of packages that provide many tools for testifying that your code will behave as you intend.
Related contents:
Ruby tests profiling and optimization toolbox.
Related contents:
Actionable test coverage checks for Ruby and Github.
Find missing tests instantly.
undercover warns about methods, classes and blocks that were changed without tests, to help you easily find untested code and reduce the number of bugs. It does so by analysing data from git diffs, code structure and SimpleCov coverage reports.
BDD styled unit test framework for Kubernetes Helm charts as a Helm plugin.
Unit test for helm chart in YAML to keep your chart consistent and robust!
tox aims to automate and standardize testing in Python. It is part of a larger vision of easing the packaging, testing and release process of Python software (alongside pytest and devpi).
Related contents:
vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.
Empower your testing with AI & usage insights.
Gravity monitors real-world user behaviors and usage patterns in live production and test environments to generate quality analytics, identify test coverage gaps, and assist in prioritizing and generating test cases.
QA via natural language AI tests. AI-powered natural language end-to-end testing framework.
Write tests in plain English and let AI handle the execution. Built on Playwright with seamless GitHub integration.
A Go test harness that starts an ephemeral PostgreSQL server.
Package postgrestest provides a test harness that starts an ephemeral PostgreSQL server. It is tested on macOS, Linux, and Windows. It can cut down the overhead of PostgreSQL in tests up to 90% compared to spinning up a postgres Docker container: starting a server with this package takes roughly 650 milliseconds and creating a database takes roughly 20 milliseconds.
Kahlan is a full-featured Unit & BDD test framework a la RSpec/JSpec which uses a describe-it syntax and moves testing in PHP one step forward.
A comprehensive test suite for RFC 8259 compliant JSON parsers
🧪 Correlate Semgrep scans with Python test coverage to prioritize SAST findings and get bug fix suggestions via a self-hosted LLM.
vulncov correlates Semgrep scans with Python test code coverage to identify which vulnerable code has been executed by unit tests, helping prioritize SAST findings and reduce false positives. It also leverages a self-hosted LLM to suggest bug fixes!
Open Source Stubs and API Test Generator for Developer. Shadow Test generation for Developers. Generate tests and stubs for your application that actually work!
Keploy is developer-centric API testing tool that creates tests along with built-in-mocks, faster than unit tests.
Keploy is your open-source, developer-centric backend testing tool. It makes backend testing easy and productive for engineering teams. Plus, it's easy-to-use, powerful and extensible..🛠️
Keploy creates test cases and data mocks/stubs from user-traffic by recording API calls and DB queries, significantly speeding up releases and enhancing reliability. 📈
Write code, not tests.
Contextually Aware AI-Driven Unit Test Generation for Typescript Node.js projects. Celp generates contextually relevant unit tests for Typescript node.js projects, saving you hours.
Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏
Nette Tester is a productive and enjoyable unit testing framework. It's used by the Nette Framework and is capable of testing any PHP code.
Removes final
and readonly
keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.
Extracts snippets from code files and merges them into markdown documents.
🚀 A curated list of awesome testing tools 🚀
Highly opinionated mocking framework for PHP 5.3+.
Prophecy is a highly opinionated yet very powerful and flexible PHP object mocking framework. Though initially it was created to fulfil phpspec2 needs, it is flexible enough to be used inside any testing framework out there with minimal effort.
Testcontainers is an open source framework for providing throwaway, lightweight instances of databases, message brokers, web browsers, or just about anything that can run in a Docker container.
Related contents:
xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework.
PhpUnitGen is an online and command line tool to generate your unit tests' skeletons on your projects.
The tool is divided into three GitHub repositories.
- phpunitgen-core, which contains the core of the tool's features.
- phpunitgen-console, which contains the command line interface.
- phpunitgen-webapp, which contains the web application and the API.
🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
Insta is an enjoyable snapshot testing tool for Rust.
Snapshots tests (also sometimes called approval tests) are tests that assert values against a reference value (the snapshot). This is similar to how assert_eq! lets you compare a value against a reference value but unlike simple string assertions, snapshot tests let you test against complex values and come with comprehensive tools to review changes.
Expressive fixtures generator.
Relying on FakerPHP/Faker, Alice allows you to create a ton of fixtures/fake data for use while developing or testing your project. It gives you a few essential tools to make it very easy to generate complex data with constraints in a readable and easy to edit way, so that everyone on your team can tweak the fixtures if needed.
atoum, the modern, simple and intuitive PHP test framework.
atoum is a simple, modern and intuitive unit testing framework for PHP! It is completely standalone, everything is available and works out of the box.
Simple and complete testing utilities that encourage good testing practices
The successor to nose, based on unittest2. nose2's extends unittest to make testing nicer.
Most testing is ineffective.
Hypothesis is a new generation of tools for automating your testing process. It combines human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests.
nox is a command-line tool that automates testing in multiple Python environments, similar to tox. Unlike tox, Nox uses a standard Python file for configuration.
tox aims to automate and standardize testing in Python. It is part of a larger vision of easing the packaging, testing and release process of Python software (alongside pytest and devpi).
Jest is a delightful JavaScript Testing Framework with a focus on simplicity.
End-to-end testing framework for Ansible. Monkeyble is a callback plugin for Ansible that allow to execute end-to-end tests on Ansible playbooks with a Pythonic testing approach.
Web & Mobile App Testing. Secure mobile & web testing in the cloud. From creation to execution to analysis. Eliminate environment concerns with test data and virtual services.
Open Source & Cloud-based Test Automation Platform for Modern Teams. Replace multiple frameworks with an open-source test automation platform. A unified, fully customizable platform that works out of the box. Build end-to-end tests 5X faster for web, mobile apps, & APIs with English scripts that self-heal, enabling maintenance-free testing.
Automate Functional Testing from UI to the API. Our AI-powered functional testing tool accelerates test automation. It works across desktop, web, mobile, mainframe, composite, and packaged enterprise-grade applications.
The Big List of Naughty Strings is an evolving list of strings which have a high probability of causing issues when used as user-input data. This is intended for use in helping both automated and manual QA testing; useful for whenever your QA engineer walks into a bar.
The Open Source Test Automation Platform. Accelerate with Test Automation. Cerberus Testing is the scalable test automation platform for teams searching to accelerate software delivery with confidence.
Code coverage tool for Bash. Bashcov is a code coverage analysis tool for Bash. In most cases, you'll want overall coverage results for your project from shUnit2, Bats, bash_unit, assert.sh, bashaspec, etc. Bashcov automatically takes care of this by caching and merging results when generating reports, so your report includes coverage across your test suites and thereby gives you a better picture of blank spots. It uses the SimpleCov coverage library to generate HTML reports. SimpleCov gets installed automatically when you install Bashcov.
Find Bugs Without Writing Tests. PHPStan finds bugs in your code without writing tests. It's open-source and free.
Faker is a PHP library that generates fake data for you. Faker is a PHP library that generates fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymize data taken from a production service, Faker is for you.
the fun, simple, flexible JavaScript test framework. Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases. Hosted on GitHub.
a fast, scalable, multi-language and extensible build system. Build and test software of any size, quickly and reliably. Bazel is a free software tool for the automation of building and testing of software.
Related contents:
- Adopting Bazel for Web at Scale @ The Airbnb Tech Blog's Medium.
- Optimiser les temps de build avec Bazel et Buildfarm @ Vincent Composieux :fr:.
- (Almost) Every infrastructure decision I endorse or regret after 4 years running infrastructure at a startup @ Jack's home on the web.
- Bazel's Original Sins @ Farid Zakaria's Blog.
- Trusting builds with Bazel remote execution @ Blog System/5.
- Top 5 Monorepo Tools for 2025 @ aviator.
- You are holding BUILD files wrong @ Blog System/5.
Open source record and playback test automation for the web
Pest is a Testing Framework with a focus on simplicity. It was carefully crafted to bring the joy of testing to PHP.
Related contents:
Test Coverage History & Statistics Coveralls works with your continuous integration server to give you test coverage history and statistics. Free for open source, pro accounts for private repos, instant sign up with GitHub OAuth. We help you deliver code confidently by showing which parts of your code aren’t covered by your test suite. Free for open source repos. Pro accounts for private repos. Instant sign up through GitHub, Bitbucket, and Gitlab.