.NET Testing Best Practices

6/16/2023 at NMUG - New Mexico .NET Users Group in Albuquerque, NM (virtual)

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.