Learn how to apply test-driven development methodology to C# programming.
Overview
Syllabus
Introduction
- Testing web applications and APIs
- What you should know
- About testing
- What is TDD?
- Advantages and disadvantages of TDD
- Software and tooling
- Demo project introduction
- Creating a test
- Fixing the code
- Adding another test
- Satisfying the next test
- Challenge: Making the test pass
- Solution: Making the test pass
- Introduction to mocking
- Adding an interface
- Using a test with a mock
- Testing without a database: Preparations
- Demo: Testing without a database
- Testing ASP.NET Core applications: Preparations
- Demo: Testing ASP.NET Core applications
- Challenge: Testing an API
- Solution: Testing an API
- Next steps with C#
Taught by
Christian Wenz