News for hackers. Stuff that matters.
Re:Show HN: Touca – open-source superior alternative to snap... by drothlis on Tuesday February 28, 2023 @03:41AM (#34967088)
Some ideas I got from Jeremias Rõßler's talk: https://t.co/xWtA58Q9q5

- Snapshot testing is like version-control but for the outputs rather than the inputs (source code).

- Asserts in traditional unit tests are like "block lists" specifying which changes aren't allowed. Instead, snapshot testing allows you to specify an "allow list" of acceptable differences (e.g. timestamps).

There are no comments on this comment yet.