.NET Testing Best Practices

11/27/2023 at Prairie DevCon Calgary in Calgary, AB, Canada

This is a #NoSlides presentation where we’ll live-code all the tests. We’ll start with a code sample, discuss the tests we want to build, use xUnit and MoQ to build the tests, then refactor the code to be more testable. Along the way we’ll discuss testing best practices and patterns for making durable tests and incorporating tests into the DevOps build.