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