Guided course · Testing, Debugging and Production Engineering
ASP.NET Core Integration Testing: Contracts, Data and Failure Paths
- Test HTTP contracts through WebApplicationFactory.
- Use realistic databases and isolated fixtures.
- Exercise authentication, tenant boundaries and denied paths.
- Control external failures, time and background work.
Intermediate4 modules · 12 lessons · 2 h 49 min · 4 practice tests · 1 free
Module 1 · HTTP contracts and realistic test boundaries
2 lessons · 21 minModule 2 · Security and tenant boundaries
1 lesson · 7 minModule 3 · Test Host, Data and Dependencies
7 lessons · 1 h 38 min- 04WebApplicationFactory Customization: Configuration, Services and Derived Hosts (included with Full Access)15 min
- 05Database Realism: Why EF InMemory Lies, and How to Isolate Real Databases (included with Full Access)15 min
- 06Testing Authentication and Authorization: 401, 403 and the Tenant 404 (included with Full Access)14 min
- 07Outbound HTTP in Integration Tests: Stub the Handler, Not the Client (included with Full Access)14 min
- 08Time and Background Work: FakeTimeProvider and Hosted Services in Tests (included with Full Access)14 min
- 09Shared Fixtures, Parallelism and Test Independence in xUnit (included with Full Access)13 min
- 10Error Contracts: Testing Problem Details, 404/405 and Malformed Input (included with Full Access)13 min
Module 4 · Capstone and assessment
2 lessons · 43 minTechInterviewNotes Editorial Team ·