Dead Simple Snapshot Testing In Zig
Snapshot testing is based on two principles:
- The assertion part of your tests is expressed as a comparison against a known good value.
- You use your tests to generate (and update) known good values automatically.
Snapshot testing is based on two principles:
- The assertion part of your tests is expressed as a comparison against a known good value.
- You use your tests to generate (and update) known good values automatically.