
Modern TDD in .NET
Test-Driven Development (TDD) puts testing at the heart of the development process. Instead of testing being a boring, time-compressed flurry of bug hunting that follows on from implementation, TDD sees us use tests to drive and support the implementation process itself. Applied correctly, TDD may lead to better designed, less buggy software that developers are confident to evolve and extend as new requirements arrive.
It sounds good, but as always we find challenges in the details: How can we write automated tests? Why is it a good idea to let tests drive development? How can we find time to write tests?
The course, developed by Edument's leading teachers and developers, is based on a set of real-life examples to show how to apply TDD. Of course, we guide you carefully through the practical aspects of writing unit tests - but it does not end there.
We show how tests can help the design process, how to get more out of tests, and discuss the properties of good tests and point out various pitfalls to avoid.
Relevant theory mixed with demonstrations and exercises gives you the chance to try for yourself. The course is built for you who work with the .NET Framework or .NET Core.
What you will learn
Introduction to TDD
Introduction to unit testing
Basic unit testing FAQ
Frequent questions about unit testing
TDD Big picture
Introduction to the TDD process
Different types of tests
Regression tests
White / blackbox testing
Better Unit Testing Design
Outside-in vs inside-out
More advanced tests
Mocking, Stubbing and DI
Double test (Mocks, Stubs…)
Manual stubs and mocks
Dependency Inversion
Mocking frameworks
NSubstitute
Environmental Issues
Working with external dependencies
Code Coverage
Code Coverage tools
Calculating coverage
Branch coverage
Continuous testing
Advanced TDD
Classic vs mockist school of TDD
Naming convention
Target audience
C# developers who want to dive into TDD, or who have some TDD experience but want to improve and deepen their TDD knowledge.
Prerequisites
Participants should be used to working with C#. Specifically, the course relies on knowledge of generics, Linq, and lambda expressions.
20 900 SEK ex moms
- The course is given remote or in classroom
- Contact us for upcoming courses
- If you are a team there is an opportunity for content adaptation based on your needs
Duration: 2 days
Level: Beginning
Language: English/Swedish
Course code: T224