Slide 13
Slide 13 text
• Snapshot testing is a different way of asserting the test results
• Very easy to be up and running
• Keep the snapshots simple
• Verify is a library that implements the snapshot ideas
• Verify is extensible (HTTP, Logging, SQL Server, EF Core, Scrubbers)
• If a simple assert is possible then use a simple assert
(with for example Fluent Assertions)
• When possible, replace it by dedicated unit tests
• Especially handy when the software works (customers are happy)
but no tests and some refactoring is needed
Summary