Build more reliable software with our Unit testing training
In this practical training, you will learn how to write unit tests that truly add value. No academic models or theories without context, but concrete techniques, patterns, and exercises that reflect how modern .NET applications are built and maintained.

Upcoming sessions
This one-day training is designed for .NET developers who want to improve code quality and build software with more confidence. You will leave the session with insights and practical examples you can apply immediately to your own projects.
No prior knowledge of unit testing is required. We build everything step by step, starting from real situations developers encounter in daily work.
Unit Testing Training 2026 (date TBD)
Unit Testing Training 2026 (date TBD)
Which topics are covered during the training?
Introduction to unit testing in .NET
We start with the fundamentals. What are unit tests, why do they exist, and when do they actually add value? Rather than focusing on theory, we establish a practical framework for deciding when testing makes sense.
Structure of a good unit test
You will learn how to structure unit tests using proven patterns such as Arrange, Act, and Assert. We also focus on clear naming conventions and readable assertions that remain maintainable over time.
Unit testing with xUnit
We dive into xUnit and show how to work with facts, theories, and test data. You will also learn how to structure test projects and write consistent tests within a .NET environment.
Dependencies and mocking
How do you handle external dependencies, such as services, repositories, or helpers? We explain what should be mocked, what should not, and how to keep tests simple and reliable.
Making legacy code testable
Learn how to take control of existing code that is difficult to test. We explore characterization tests and targeted refactoring techniques to improve testability without breaking existing behaviour.
What not to test
Not everything needs to be tested. We discuss which parts of your application you can intentionally exclude from unit tests, and why testing via the public interface is often the most reliable approach.
Test-Driven Development (TDD)
We conclude with a practical introduction to TDD. You will learn how the Red, Green, Refactor cycle works and when TDD adds value within real development projects.
Collaboration around testing
Testing becomes even stronger when teams collaborate. We explore techniques such as pair programming, TDD, ping-pong development, and mob programming to foster shared ownership and improve code quality.
Frequently asked questions
Looking for an in-house training?
Absolutely! Send us a message and let us know what you need.
We will craft a custom training and prepare a proposal tailored just for you.
