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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 178K | 0 | 5.2 | 40.5 | 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. | 231 | 232 | 48 | 4M | 0 | 2.6 | 55.3 | 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. | 48 | 49 | 14 | 4M | 0 | 1.0 | 55.6 | MIT | — | |
| 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 | 79 | 4 | 7K | 0 | 17.1 | 29.1 | MIT | 7 months ago | |
| spatie/pest-plugin-snapshots | 0.79 | 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. | 40 | 40 | 11 | 74K | 0 | 22.5 | 52.5 | MIT | 1 month ago |
How can I help you explore Laravel packages today?