A demonstration of isolating unit tests
-
Updated
Jun 12, 2020 - PHP
A demonstration of isolating unit tests
Double and test PHP classes easily in PhpUnit
Simple App to introduce Clean Architecture first concepts
Workshop of Test Doubles using PHP Unit and Pest
To explain test doubles in PHPUnit by using various examples.
An alternative to PHPUnit's ReturnValueMap and ReturnCallback. A convenient solution to migrate from Prophecy.
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).
Add a description, image, and links to the test-doubles topic page so that developers can more easily learn about it.
To associate your repository with the test-doubles topic, visit your repo's landing page and select "manage topics."