.NET Unit Testing Beginner Bootcamp

This page is for a workshop I'm presenting at various technical conferences and groups.

Workshop Abstract:

As a professional software developer, quality and maintainability are fundamental job responsibilities, and well written unit tests are key aspect of achieving these goals. But getting started with unit testing can be daunting, and knowing what to test can be overwhelming.

Whether you're a senior .NET dev that just never got into unit tests, or you're just starting your .NET journey, I'll cover tactical and strategic guides and share my experiences to get you started and prepared for the path ahead.

In this workshop, we'll talk through the topics you need to know to get up and running with unit testing, coupled with hands-on coding activities to practice the topics covered. Laptops are required for all attendees due to the coding exercises.

Topics covered in this workshop:

  • Fundamentals of unit testing and basic structure of a unit test / test suite
  • Features of popular testing frameworks and tooling
  • Tips and strategies for writing tests that provide long-term value
  • Differences between writing tests for new code vs writing tests for existing code
  • Unit Tests vs Integration Test: advantages and disadvantages of each
  • Using mocking frameworks
  • Integration with CI/build servers
  • Pros & cons of Code Coverage tools
  • Advanced integrations with testing frameworks -- using the framework SDKs to extend and enhance

This workshop is broken into four sessions:

Session 1: Fundamentals, Frameworks, and Features

  • Fundamentals of unit testing
  • Basic structure of a unit test / test suite
  • Features of popular testing frameworks and tooling

Session 2: Integration Tests and Object Mocking

  • Unit Tests vs Integration Test
  • Mocking frameworks

Session 3: Applying Tests In Your Development Process

  • Writing tests for new vs existing code
  • Integration with CI/build servers
  • Code Coverage tools

Session 4: Advanced Integrations

  • Using the framework SDKs

Upcoming Presentations:

Interested in having me present this workshop at your usergroup or conference? Let me know!

Presented At:

Indy.Code()
APR 24-26, 2019

Prairie.Code()
SEPT 11-13, 2019


Recent Version of Slides: