skuzzle / snapshot-tests

Convenient snapshot testing for Java
https://skuzzle.github.io/snapshot-tests/reference/latest/
MIT License
12 stars 0 forks source link

Make diff renderer globally configurable #87

Closed skuzzle closed 1 year ago

skuzzle commented 1 year ago

For explicit text snapshots you can already configure the diff format via TextSnapshot.text().withDiffFormat(...). You can not currently control the diff format of the internally created diffs for all snapshots other than pure text.

We could add a new parameter to SnapshotTestOptions to specify the format