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.90 | — | 22 | 21 | 10 | 11K | 0 | 0.3 | 26.2 | MIT | — | |
| pestphp/pest-plugin-parallel | 0.90 | 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. | 32 | 32 | 10 | 74K | 0 | 0.7 | 46.3 | MIT | — | |
| pestphp/pest-plugin-faker | 0.88 | 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. | 38 | 39 | 7 | 390K | 0 | 0.6 | 55.3 | MIT | — | |
| pestphp/pest-plugin-init | 0.88 | A Pest plugin that adds an init command to quickly bootstrap Pest in an existing PHP or Laravel project, generating the baseline test configuration and scaffolding needed to start writing Pest tests. | 11 | 10 | 2 | 2K | 0 | 0.1 | 21.7 | MIT | — | |
| pestphp/pest-plugin-mutate | 0.88 | 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. | 47 | 46 | 19 | 10M | 0 | 3.9 | 60.6 | MIT | 2 years ago | |
| pestphp/pest-plugin-expectations | 0.87 | An extension for the Pest PHP testing framework that adds extra expectation APIs, letting you write fluent, readable assertions with expect(). It supports custom expectation creation and ships additional built-in expectations for cleaner, more expressive test suites. | 21 | 19 | 7 | 1K | 0 | 0.4 | 17.1 | MIT | 5 years ago | |
| pestphp/pest-plugin-coverage | 0.87 | Official Pest plugin for code coverage: generate coverage reports from your Pest test suite, enforce minimum coverage thresholds, and integrate with PHPUnit coverage tooling through simple Pest commands and configuration. | 9 | 10 | 4 | 2K | 0 | 0.1 | 22.5 | MIT | — | |
| pestphp/pest-dev-tools | 0.87 | 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. | 10 | 10 | 7 | 9K | 0 | 0.5 | 40.1 | MIT | — | |
| pestphp/pest-plugin-phpstan | 0.87 | A Pest plugin that brings PHPStan static analysis into your Pest test suite, letting you run and assert PHPStan results directly from tests. Integrate type and error checks into your workflow without leaving Pest. | 12 | 11 | 11 | 595K | 0 | 0.4 | 55.3 | MIT | — | |
| pestphp/pest-plugin-evals | 0.87 | A Pest PHP plugin for writing and running evals directly inside your test suite. Define evaluation cases, assert on outputs with familiar Pest syntax, and benchmark prompts or AI-powered features alongside your regular tests, with results shown in your normal test output. | 5 | 5 | 2 | 76K | 0 | 18.2 | 63.9 | MIT | 1 month ago | |
| php-http/mock-client | 0.87 | Mock HTTP client for HTTPlug/PHP-HTTP. Stores outgoing requests and returns queued responses or throws exceptions instead of making real network calls—ideal for unit tests of HTTP-dependent code. Install via Composer as a dev dependency. | 71 | 75 | 16 | 266K | 0 | 6.0 | 49.3 | MIT | 2 years ago | |
| pestphp/pest-plugin-laravel | 0.87 | Pest Plugin for Laravel adds Laravel-specific testing helpers and integration to Pest, making it easy to write expressive, fast tests for Laravel apps while leveraging the familiar Laravel testing ecosystem. | 234 | 240 | 46 | 9M | 0 | 2.6 | 55.3 | MIT | — | |
| pestphp/pest-plugin-drift | 0.87 | Pest Plugin Drift adds drift detection to your Pest test suite, helping catch behavioral changes and flaky differences across runs. Install alongside Pest to track and report unexpected output or snapshot mismatches during testing. | 76 | 76 | 13 | 961K | 0 | 1.3 | 55.3 | MIT | 4 years ago | |
| pestphp/pest-plugin | 0.87 | 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. | 48 | 50 | 14 | 10M | 0 | 1.0 | 55.6 | MIT | — | |
| php-mock/php-mock-integration | 0.87 | Integration layer for php-mock, making it easy to use PHP function mocks within popular test frameworks. Helps you stub built-in functions like time(), rand(), and file operations in specific namespaces, enabling reliable, isolated unit tests without touching global state. | 14 | 14 | 6 | 374K | 0 | 8.2 | 57.8 | WTFPL | 9 months ago | |
| pestphp/pest-plugin-arch | 0.87 | Pest Plugin Arch adds architecture testing to Pest, letting you enforce project boundaries and design rules with simple tests. Ideal for keeping Laravel/PHP codebases consistent and preventing unwanted dependencies. | 44 | 44 | 27 | 10M | 0 | 1.5 | 56.4 | MIT | — | |
| pestphp/pest-plugin-stressless | 0.87 | A Pest plugin for finding flaky tests. Stressless runs your suite repeatedly to surface intermittent failures, reporting tests that pass and fail unpredictably so you can fix nondeterminism before it reaches CI. | 68 | 68 | 7 | 129K | 0 | 0.9 | 45.2 | MIT | 2 years ago | |
| pestphp/drift | 0.87 | Pest Drift is a Pest plugin for Laravel that detects database schema drift. It compares your migrations with the live database so tests fail when schema changes happen outside migrations, helping keep environments consistent and deployments predictable. | 29 | 27 | 6 | 0 | 6 | 1.2 | 1.3 | MIT | 6 years ago | |
| mrpunyapal/rector-pest | 0.87 | Rector rules for PestPHP that improve test code quality and ease version upgrades, plus a semantic remediation layer with canonical issue IDs and diagnostic-to-fix mapping for safe Pest-specific fixes. | 74 | 69 | 6 | 27K | 0 | 11.8 | 29.2 | MIT | 4 months ago | |
| pestphp/pest-plugin-livewire | 0.87 | Pest Plugin Livewire adds Livewire-specific testing helpers to Pest, making it easy to write expressive, fluent tests for Laravel Livewire components. Integrates seamlessly with Pest to simplify component assertions and interactions. | 67 | 68 | 20 | 898K | 0 | 1.1 | 55.3 | MIT | — |
How can I help you explore Laravel packages today?