The most powerful and flexible mocking framework for PHPUnit / Codeception.

AspectMock AspectMock is not an ordinary PHP mocking framework. With the power of Aspect Oriented programming and the awesome Go-AOP library, AspectMock allows you to stub and mock practically anything in your PHP code! Document

Related Repos


mikeerickson CD PHPUnit Pretty Result Printer Version 0.27 Extend the default PHPUnit Result Printer with a modern, pretty printer! 📦 PHPUnit Pretty Result Printer -- Packagist Installation Installation is provided via

vjik Database Populator for Codeception DB Module Codeception DB module addon that helps you to tune database populations. So for a test you could load onl

rpkamp Fancy Testdox Printer A fancy testdox printer for PHPUnit. Output is similar to PHPUnit's --testdox output, but: Tests are more clearly marked as failing/passing by colored1 symbols Failures/errors etc are shown inline ins

mockery Mockery Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of

Codeception Codeception Modern PHP Testing for everyone Codeception is a modern full-stack testing framework for PHP. Inspired by BDD, it provides an absolutely new way of writing acceptance, functional and even unit tests. Powered by P

jmatraszek Haxonite: Rock-solid API mocking for hackers Haxonite is an easy-to-use API mocking server written in Rust. Table of Contents Haxonite: Rock-solid API mocking for hackers Installation Usage

paratestphp ParaTest The objective of ParaTest is to support parallel testing in PHPUnit. Provided you have well-written PHPUnit tests, you can drop paratest in your project and start using it with no additional bootstrap or configuration

Roave roave/no-leaks This library is a PHPUnit plugin that detects memory leaks in tested code or tests. Installation composer require --dev roave/no-leaks Usage In your phpunit.xml configuration, add followi

spatie Automatically rerun PHPUnit tests when source code changes Wouldn't it be great if your PHPUnit tests would be automatically rerun whenever you change some code? This package can do exactly that. With the package installed

zabaala Laravel pre-commit A Laravel package to analyze your PHP code and check your PHPUnit tests before commit your code. Requirements PHP >= 7.0.0 phpunit/phpunit ~6.0 squizlabs/php_codesniffer ~6.0

phpspec Prophecy 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

service-mocker Service Mocker Service Mocker is an API mocking framework for frontend developers. With the power of service workers, we can easily set up mocking services without any real servers. It sets developers free from intricate

mockito Most popular mocking framework for Java Current version is 3.x Still on Mockito 1.x? See what's new in Mockito 2! Mockito 3 does not introduce any breaking API changes, but now requires Java 8 over Java 6 for Mockit

nsubstitute NSubstitute Visit the NSubstitute website for more information. What is it? NSubstitute is designed as a friendly substitute for .NET mocking libraries. It is an attempt to satisfy our craving for a mocking libra

aszx87410 API Mocking demo app 此專案使用 Create React App 建置. 介紹 這個專案模擬一個簡單的登入功能,並示範 mirage 與 msw 兩種不同的 API mocking。 MSW(Mock Service Worker) 官網: 可

bovigo vfsStream 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. Documentat

sebastianbergmann PHPUnit PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks. Installation We distribute a PHP Archive (PHAR) that has all required (

Capocaccia fullstack A full stack base template for using Laravel with VueJS. Typescript, SCSS, Babel, ESLINT, Jest, and PHPUnit included. Stack Server Utilizes the Laravel PHP framework to handle server functionality

nunomaduro Pest was created by, and is maintained by Nuno Maduro and is an enjoyable PHP testing solution. Works out of the box for any PHPUnit project. 🚀 Installation & Usage Requires PHP 7.2+ and phpunit 8.1

mattiasgeniar A custom assertion for phpunit that allows you to count the number of SQL queries used in a test. Can be used to enforce certain performance characteristics (ie: limit queries to X for a certain action).

jwage PHPChunkit PHPChunkit is a library that sits on top of PHPUnit and adds additional functionality to make it easier to work with large unit and functional test suites. The primary feature is test chunking and database sandboxi