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 clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).

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

Related Repos


1.3k

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
 
387

InterNations HTTP Mock for PHP Mock HTTP requests on the server side in your PHP unit tests. HTTP Mock for PHP mocks the server side of an HTTP request to allow integration testing with the HTTP side. It uses PHP’s builtin web server t
 

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
 
1.4k

atoum atoum A simple, modern and intuitive unit testing framework for PHP! Just like SimpleTest or PHPUnit, atoum is a unit testing framework specific to the PHP language. However, it has been designed from the start
 
1.2k

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
 
Popular
17.9k

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 (
 
286

rr RR RR is a test double framework for Ruby that features a rich selection of double techniques and a terse syntax. Learning more A whirlwind tour of RR What is a test double? Syntax between RR and other dou
 
915

stripe stripe-mock stripe-mock is a mock HTTP server that responds like the real Stripe API. It can be used instead of Stripe's test mode to make test suites integrating with Stripe faster and less brittle. It's powered by the Stripe O
 

pzavolinsky react-unit React Unit is a lightweight unit test library for ReactJS with very few (js-only) dependencies. By using react-unit you can run your ReactJS unit tests directly from node or gulp without having to install any heavywei
 
309

php-mock PHP-Mock: mocking built-in PHP functions PHP-Mock is a testing library which mocks non deterministic built-in PHP functions like time() or rand(). This is achieved by PHP's namespace fallback policy: PHP will fall back to glo
 
1.8k

phpspec phpspec The main website with documentation is at http://www.phpspec.net. Installing Dependencies Dependencies are handled via composer: wget -nc https://getcomposer.org/composer.phar php composer.p
 
247

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
 

tov Succinct Data Structures for Rust So far we have: bit vectors and bit buffer; integer vectors with arbitrary-sized (1- to 64-bit) elements; a variety
 

krakjoe parallel A succinct parallel concurrency API for PHP 7 Documentation Documentation can be found in the PHP manual: https://php.net/parallel Requirements and Installation See INSTALL.md Hello
 
Popular
3.1k

dotnet Featured Repos dotnet/core/sdk: .NET Core SDK dotnet/core/aspnet: ASP.NET Core Runtime dotnet/core/runtime: .NET Core Runtime dotnet/core/runtime-deps: .NET Core Runtime Dependencies dotnet/core/samples: .NET Core Samp
 
48

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
 
1.8k

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
 
14

jaswdr Go http mock server Mock your APIs in a really fast, robust and comprehensive way Install go get github.com/jaschweder/go-http-mock-server Getting start Create a mock.json file like this: { "se
 

rswag Rswag extends rspec-rails "request specs" with a Swagger-based DSL for describing and testing API operations. You describe your API operations with a succinct, intuitive syntax, and it automaticaly runs the tests.
 
37

EIrwin #stubble - Mock JSON API Generator What is stubble? Stubble is a mock JSON API generator that uses a YAML specification to define mock API endpoints and responses. Why stubble? Current API response mocking soluti
 
3.9k

DATA-DOG Sql driver mock for Golang sqlmock is a mock library implementing sql/driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain co