Intermediate

Unit Testing an ASP.NET Core MVC Web Application

Unit test MVC controllers with xUnit, Moq and FluentAssertions — isolation, mocking and CI/CD.

Demo application: EmployeeManagement (ASP.NET Core MVC, xUnit, Moq, FluentAssertions)

Sign in to read this course

A free account unlocks all 514 courses. 20 are readable without one.

What's inside

15 sections
  1. 1 Table of Contents
  2. 2 Introduction to Unit Testing
  3. 3 Basic Test Scenarios
  4. 4 Organization and Execution Control
  5. 5 Data-Driven Tests
  6. 6 Test Isolation and Mocking
  7. 7 Testing MVC Controllers
  8. 8 Advanced Tests (Middleware, Filters, Services)
  9. 9 CI/CD Integration
  10. 10 Summary and Best Practices
  11. 11 Deep Dive — Detailed Content by Section
  12. 12 A. Test Isolation and Mocking — Deep Dive
  13. 13 A. MVC Controller Tests — Deep Dive
  14. 14 A. Advanced Tests — Deep Dive
  15. 15 A. Summary and Best Practices — Deep Dive

Interested in this course?

Contact us to book it or get a custom training plan for your team.