Session

How to Mock objects and influence unit tests

Want to write cleaner, more maintainable unit tests in .NET? In this session, we’ll explore powerful tools and techniques to simplify test setup, reduce boilerplate code, and make assertions more intuitive. You'll learn how to effortlessly mock dependencies, isolate your tests from external APIs and databases, and improve overall test reliability. We’ll cover strategies to automatically inject mocked dependencies into your test subjects, ensuring your tests are both efficient and resilient. Whether you're new to unit testing or looking to refine your approach, this session will give you practical insights to take your testing game to the next level.

Covers .NET unit testing with AutoFixture, NSubstitue, and Shouldly and bring general tips for better test development

Duane Newman

Microsoft MVP

Kansas City, Missouri, United States

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top