spatie/pest-plugin-test-time
A Pest plugin for controlling time in tests. Freeze or advance Carbon’s current time with testTime()->freeze() and addMinute(), and use the toBeCarbon expectation to assert Carbon date and time values clearly.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/pest-plugin-snapshots | 0.90 | Add snapshot testing to Pest. This plugin wraps spatie/phpunit-snapshot-assertions, giving your Pest tests assertMatchesSnapshot, assertMatchesJsonSnapshot, and the toMatchSnapshot expectation so you can lock in string and JSON output with ease. | 40 | 40 | 11 | 99K | 0 | 18.1 | 52.7 | MIT | 3 months ago | |
| spatie/pest-plugin-route-testing | 0.90 | Easily test every GET route in your Laravel app with Pest. Assert all routes return successful responses, include or exclude patterns, and bind models for routes with route model bindings. | 141 | 141 | 7 | 9K | 0 | 20.2 | 28.9 | MIT | 3 months ago | |
| spatie/pest-expectations | 0.90 | Add expressive, chainable expectations to Pest tests with Spatie’s helpers. Provides handy assertion-style methods for cleaner, more readable tests, letting you validate values, types, strings, arrays, and more with minimal boilerplate. | 79 | 79 | 4 | 9K | 0 | 13.4 | 29.7 | MIT | 8 months ago | |
| spatie/temporary-directory | 0.89 | Spatie's PHP package quickly creates, uses, and deletes temporary directories in the system's temp folder. Chainable methods handle custom naming, path helpers, and automatic cleanup of every file inside when the directory is deleted. | 972 | 977 | 49 | 8M | 0 | 26.4 | 60.4 | MIT | 4 months ago | |
| spatie/fractalistic | 0.89 | Developer-friendly wrapper around League Fractal to transform API data with less boilerplate. Build resources, apply transformers, includes, and output arrays with a fluent API or one-liner syntax. Great for PHP projects; Laravel users may prefer laravel-fractal. | 383 | 385 | 32 | 429K | 0 | 17.2 | 44.3 | MIT | 8 months ago | |
| spatie/test-time | 0.89 | Control time in tests with Spatie TestTime—freeze or advance Carbon-based timestamps dynamically for time-sensitive assertions. Simplify testing date-dependent logic by manually adjusting time without altering real-world clocks. Works seamlessly with Carbon’s methods like addYear(), subDay(), or cus... | 208 | 208 | 9 | 246K | 0 | 5.2 | 42.4 | MIT | 2 years ago | |
| pestphp/pest | 0.88 | Pest is an elegant PHP testing framework with a clean, expressive syntax built on PHPUnit. Write readable tests with higher-order expectations, datasets, and architecture testing, plus first-class Laravel support. | 11,758 | 11,782 | 560 | 10M | 170 | 94.8 | 74.4 | MIT | 5 days ago | |
| ralphjsmit/pest-plugin-filesystem | 0.87 | Pest plugin that adds expressive filesystem assertions to your test suite, so you can verify files and directories exist, contain expected content, or are empty without verbose PHP boilerplate. A small, focused helper for cleaner Pest tests. | 3 | 3 | 0 | 2 | 0 | 0.3 | 2.4 | MIT | 3 years ago | |
| defstudio/pest-plugin-laravel-expectations | 0.87 | A Pest plugin that adds expressive Laravel-specific expectations to your test suite, making assertions for models, HTTP responses, authentication, and common framework behavior cleaner and more readable. Write concise, fluent tests without verbose Laravel checks. | 98 | 99 | 17 | 20K | 2 | 18.7 | 36.9 | MIT | 1 month ago | |
| pestphp/pest-plugin-parallel | 0.87 | 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.2 | MIT | — | |
| pestphp/pest-plugin-init | 0.87 | 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/drift | 0.86 | 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 | |
| nunomaduro/pest | 0.86 | Pest is an elegant PHP testing framework focused on simplicity. Built on top of PHPUnit, it offers a clean, expressive syntax that makes writing tests enjoyable, with readable expectations and a developer-friendly API. | 343 | 359 | 3 | 5 | 9 | 2.2 | 1.9 | — | — | |
| pestphp/pest-plugin | 0.86 | 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 | — | |
| pestphp/pest-dev-tools | 0.86 | 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 | — | |
| jeffersongoncalves/pest-plugin-mysql-compat | 0.86 | A Pest plugin for MySQL compatibility that helps your test suite run smoothly against MySQL by handling driver-specific behavior and assertions, with simple installation and setup in your Pest configuration. | 1 | — | 0 | — | 0 | 17.2 | — | MIT | 1 month ago | |
| orchestra/pest-plugin-testbench | 0.86 | Pest Plugin for Testbench lets you use PestPHP to test your Laravel packages, bringing Pest's expressive, readable syntax to Orchestra Testbench so building and maintaining package test suites takes less boilerplate. | 0 | 6 | — | 7K | — | 3.9 | 53.6 | — | — | |
| pestphp/pest-plugin-drift | 0.86 | 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-laravel | 0.85 | 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-coverage | 0.85 | 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 | — |
How can I help you explore Laravel packages today?