spatie/pest-plugin-snapshots
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/pest-expectations | 0.84 | 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 | |
| spatie/phpunit-snapshot-assertions | 0.83 | Add snapshot testing to PHPUnit with simple assertions for JSON, XML, and text. First run creates snapshots; later runs compare outputs and fail on regressions. Ideal for verifying serialized data and responses with minimal test boilerplate. | 695 | 699 | 77 | 608K | 1 | 34.9 | 47.8 | MIT | 1 month ago | |
| spatie/pest-plugin-test-time | 0.83 | 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. | 49 | 49 | 8 | 49K | 0 | 23.2 | 48.6 | MIT | 7 months ago | |
| pestphp/pest | 0.81 | Pest is an elegant PHP testing framework focused on simplicity and joyful, expressive tests. Built for modern PHP projects, it offers a clean syntax, rich assertions, plugins, and great developer experience for unit, feature, and more. | 11,409 | 11,369 | 465 | 3M | 177 | 89.5 | 67.6 | MIT | 6 days ago |
How can I help you explore Laravel packages today?