Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

C# Test-Driven Development

via LinkedIn Learning

Overview

Learn how to apply test-driven development methodology to C# programming.

Syllabus

Introduction
  • Testing web applications and APIs
  • What you should know
1. TDD Theory
  • About testing
  • What is TDD?
  • Advantages and disadvantages of TDD
  • Software and tooling
2. Getting Started with TDD
  • 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
3. Advanced TDD Techniques
  • 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
Conclusion
  • Next steps with C#

Taught by

Christian Wenz

Reviews

Start your review of C# Test-Driven Development

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.