pestphp/pest-plugin-mock
Pest plugin that integrates Mockery into Pest tests, providing convenient helpers to create, configure, and verify mocks and spies with a simple, Pest-friendly API for unit and feature testing in PHP/Laravel projects.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pestphp/pest-plugin-watch | 0.85 | — | 21 | 21 | 10 | 21K | 0 | 0.3 | 29.0 | MIT | — | |
| pestphp/pest-plugin-mutate | 0.84 | Pest Plugin Mutate brings mutation testing to Pest, helping you gauge test suite effectiveness by introducing small code changes and checking whether tests catch them. Ideal for strengthening coverage and confidence in your PHP applications. | 40 | 40 | 6 | 3M | 0 | 22.4 | 66.4 | MIT | 1 year ago | |
| pestphp/pest-plugin-faker | 0.84 | Pest Plugin Faker adds seamless Faker support to Pest tests, letting you quickly generate realistic fake data in your test suite. Ideal for speeding up data-driven tests with minimal setup. | 37 | 37 | 7 | 215K | 0 | 0.4 | 51.8 | MIT | — | |
| pestphp/pest-plugin | 0.83 | Plugin API for Pest PHP, the elegant testing framework. Use it to build and distribute Pest plugins that extend the runner, add custom expectations, hooks, and tooling integrations for your PHP test suite. | 44 | 46 | 14 | 3M | 0 | 0.7 | 55.3 | MIT | — | |
| pestphp/pest-plugin-parallel | 0.82 | Official parallel testing plugin for Pest. Run your test suite concurrently across CPU cores to speed up feedback, with simple configuration and CLI options. Ideal for large projects and CI pipelines looking to reduce test runtime. | 31 | 31 | 10 | 44K | 0 | 0.6 | 43.3 | MIT | — | |
| phpunit/phpunit-mock-objects | 0.81 | Default mock object library for PHPUnit. Create test doubles (mocks, stubs, spies) to isolate units under test, define expectations, control method returns, and verify interactions. Designed for PHPUnit projects and compatible with PHP 7.1+. | 4,938 | 5,056 | 153 | 542K | 0 | 25.2 | 33.2 | NOASSERTION | 12 years ago | |
| pestphp/pest | 0.81 | Pest is an elegant PHP testing framework focused on simplicity and joyful, expressive tests. Built for modern PHP projects, it offers a clean syntax, rich assertions, plugins, and great developer experience for unit, feature, and more. | 11,409 | 11,369 | 465 | 3M | 177 | 89.5 | 67.6 | MIT | 6 days ago | |
| php-mock/php-mock-mockery | 0.81 | Integrates php-mock with Mockery to mock PHP built-in functions in tests. Create namespaced function mocks with PHPMockery::mock() and set expectations/returns, then call Mockery::close(). Supports only unqualified calls; define early if needed. | 39 | 39 | 5 | 64K | 2 | 21.9 | 52.1 | WTFPL | 1 year ago | |
| pestphp/pest-dev-tools | 0.80 | Pest Development Tools: internal utilities and tooling used to build and maintain the Pest testing framework. Includes helpers for local development, automation, and repository workflows. For using Pest in your app, see the main Pest repository. | 9 | 9 | 7 | 5K | 0 | 0.5 | 37.2 | MIT | — | |
| symplify/easy-testing | 0.80 | Utilities for easier PHP unit testing, focused on writing cleaner tests with less boilerplate. Provides helpers and base test cases commonly used in Symplify tools to streamline assertions, fixture handling, and test setup across projects. | 41 | 42 | 3 | 29K | 0 | 0.1 | 27.7 | MIT | — | |
| phpstan/phpstan-mockery | 0.80 | PHPStan extension for Mockery: infers intersection types for mocks (Foo&MockInterface), understands shouldReceive/shouldHaveReceived/allows/expects, supports partial/alias/overload mocks, multiple interfaces, and proper constructor args for accurate static analysis. | 102 | 100 | 24 | 995K | 9 | 29.7 | 68.8 | MIT | 1 year ago | |
| php-mock/php-mock | 0.79 | Mock built-in PHP functions like time() or rand() in tests by leveraging PHP’s namespace fallback: define namespaced replacements for unqualified calls. Works in non-global namespaces; supports common test frameworks via integrations (e.g., PHPUnit). | 369 | 374 | 20 | 545K | 3 | 28.0 | 51.9 | WTFPL | 2 months ago |
How can I help you explore Laravel packages today?