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.
Architecture fit: Seamless integration with Pest-based Laravel projects. Acts as a thin wrapper around spatie/phpunit-snapshot-assertions, leveraging Pest's native test syntax without requiring architectural changes. Ideal for validating complex outputs (JSON, HTML, images) in Pest test suites.
Integration feasibility: High. Single Composer command installs the package with zero configuration. Snapshot assertions work immediately via Pest's expectation syntax or functional helpers (`assertMatchesSnapshot
How can I help you explore Laravel packages today?