Libraries tagged by unit testing
jsiefer/mage-mock
100 Downloads
Mock the Magento Framework
jsiefer/class-mocker
164 Downloads
Can mock entire frameworks or namespaces
jpeters8889/phpunit-code-assertions
362 Downloads
Rules and assertions in PHPUnit for code quality, rules and patterns.
filisko/testable-functions
419 Downloads
A library for testing PHP's built-in functions or language constructs.
faissaloux/pest-plugin-math
10 Downloads
Math plugin for Pest PHP
faissaloux/pest-plugin-database
0 Downloads
Pest plugin for databases structure
dex/pest-plugin-laravel-tester
293 Downloads
Pest plugin to test Laravel components
crimsonkissaki/mockmaker
45 Downloads
Whether you call them doubles, stubs, mocks, partials, fakes, or something else there are times when a mocking library such as PHPUnit's mockBuilder, Mockery, Prophecy, etc. just doesn't do exactly what you need or want. Sometimes you just need a concrete class implementation to run through the unit test wringer or a full end to end functional unit test suite. MockMaker aims to simplify the process of generating concrete fake ORM entity objects. Flexible and extendable, the generated seed code can be altered to suit your particular project with relative ease. That means after the initial setup you can re-run MockMaker for any new entities that get added in or update existing entities that change with little to no fuss. What's more, once MockMaker has made your files it's done; you don't have to include it in your code base and can use the generated files like any other project class.
artox-lab/pho
3364 Downloads
A BDD testing framework
aipng/test-helpers
105 Downloads
Private properties trait useful for testing purposes
shipfastlabs/pest-plugin-evals
3 Downloads
A PestPHP plugin for evaluating Laravel AI SDK agents with LLM-as-judge, semantic similarity, and deterministic scorers
rzajac/php-test-helper
9046 Downloads
Classes helping with unit tests
ralphjsmit/pest-plugin-livewire
24797 Downloads
A plugin for Pest to test Livewire forms.
pestphp/dust
2 Downloads
A PHP browser testing solution using Laravel Dusk and Pest
acid/acid
207 Downloads
Acid Testing Framework