Clean Testing: Clean Architecture with .NET Core
summary
Clean Architecture solution with a .NET Core to‑do app is wired to run real command/query handlers through MediatR, EF Core and the validation pipeline; tests use subcutaneous tests (operate below the UI), run against a real test database reset by Respawn, and assert behavior with FluentAssertions and Moq under NUnit. Demo covers GetToDoLists, CreateToDoList (validates nonempty and unique title) and UpdateToDoList; tests run quickly, isolate state, and pass reliably.
AI-written summary · about
chapters (6)
- 0:00Start
- 3:17Typical Approach 1. Unit tests
- 7:01Testing Frameworks
- 11:14Clean Architecture Solution Template
- 41:55Resources
- 45:15Summary
related talks
01h 04mClean Testing - Clean Architecture with .NET Core
01h 02mTesting First - Getting The How
47mThe Grand Unified Theory of Clean Architecture and Test Pyramid
41mTesting .NET Web APIs from A to Z
50mThe Grand Unified Theory of Clean Architecture and Test Pyramid
54m.NET Testing Best Practices
43m.NET Testing Best Practices
01h 05m.NET Testing Best Practices
