spatie/pest-plugin-test-time
Pest plugin to control time in tests via Carbon::setTestNow(): freeze “now” and easily move it forward/backward (e.g., addMinute). Includes a toBeCarbon expectation for asserting Carbon dates/times and formats.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| faissaloux/pest-plugin-inside | 0.84 | Pest plugin to run tests from inside your app’s context. Provides helpers to bootstrap Laravel or other frameworks for faster, cleaner integration-style tests without leaving Pest. Simple setup, lightweight, and aimed at improving developer ergonomics. | 4 | 4 | 2 | 272 | 0 | 23.7 | 28.3 | MIT | 1 week ago | |
| spatie/test-time | 0.84 | 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 | 149K | 0 | 5.2 | 39.4 | MIT | 2 years ago | |
| pestphp/pest-plugin-laravel | 0.83 | 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. | 226 | 232 | 47 | 3M | 0 | 2.9 | 56.0 | MIT | — | |
| pestphp/pest-plugin | 0.82 | 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. | 0 | 47 | — | 4M | — | 0.9 | 55.6 | — | — | |
| spatie/pest-plugin-snapshots | 0.81 | Adds snapshot testing to Pest via Spatie’s snapshot assertions. Compare strings or JSON against stored snapshots with helper functions or Pest expectations. Ideal for stable output/regression testing in PHP projects. | 39 | 39 | 11 | 47K | 0 | 21.6 | 48.6 | MIT | 1 month ago | |
| spatie/pest-expectations | 0.79 | 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 | 78 | 4 | 7K | 0 | 21.8 | 30.1 | MIT | 3 months ago |
How can I help you explore Laravel packages today?