When Unit tests are not enough: Property-based testing and Snapshot tests

Friday, November 13

– PST

Davide Bellone

Add to calendar

Unit Tests are all fun and games until they aren't enough. Integration Tests are better in many scenarios, but they aren't always the best choice either. What other kinds of tests do we have up our sleeves? We can use Snapshot Tests to verify that we haven't introduced regressions, and Property-based Tests to verify that invariants always hold. Attendees will leave with a practical way to decide when to use example-based tests (such as Unit and Integration tests), Property-based Tests, Snapshots Tests, or a combination of all three, using xUnit, FsCheck, and Verify.

Speakers

Davide Bellone