spatie/phpunit-snapshot-assertions

Support inline snapshots

Closed this issue · 3 comments

aszenz commented

Inline snapshots are a way to create a snapshot of the output when running an expression in a test.

It's similar to snapshot testing but the expected output is stored inline within the source.

It requires modifying the test program to add the output.

See:
https://jestjs.io/docs/snapshot-testing#inline-snapshots

We'd love to add this at some point! No timeline yet though.

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.