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 | 8 | 0 | 23.8 | 6.7 | MIT | 4 months 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 | 10 | 160K | 0 | 25.2 | 46.9 | 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. | 222 | 225 | 48 | 3M | 0 | 2.9 | 55.6 | 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. | 44 | 46 | 14 | 3M | 0 | 0.7 | 55.3 | MIT | — | |
| spatie/pest-plugin-snapshots | 0.81 | Add snapshot testing to Pest. Assert strings, JSON, and more against stored snapshots using helper functions or Pest expectations like toMatchSnapshot(). Built on Spatie’s phpunit-snapshot-assertions for easy, reliable regression testing. | 38 | 39 | 11 | 40K | 0 | 23.0 | 49.0 | MIT | 2 months 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. | 78 | 78 | 4 | 6K | 0 | 27.4 | 30.9 | MIT | 1 month ago |
How can I help you explore Laravel packages today?