EF Core • Loggers • Integration Test • Tools • [UsesVerify] • return Verify(actual) • verified vs received files • .gitignore • Scrub datetime and Guids • Ignore Field • Record EF Core stream • Record Logging stream • HTTP extention
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