Skip to content
Search lessons, topics, tests…
Esc

    ↑ ↓ moveEnter openEsc close
    Testing, Debugging and Production Engineering: back to the track

    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 min
    1. 01Build an HTTP contract test that can catch a real regressionFree, video, 1 practice test14 min
    2. 02Database realism, isolation and trustworthy fixtures (included with Full Access), video, 1 practice test7 min

    Module 2 · Security and tenant boundaries

    1 lesson · 7 min
    1. 03Authorization and tenant isolation: prove the denied paths (included with Full Access), 1 practice test7 min

    Module 3 · Test Host, Data and Dependencies

    7 lessons · 1 h 38 min
    1. 04WebApplicationFactory Customization: Configuration, Services and Derived Hosts (included with Full Access)15 min
    2. 05Database Realism: Why EF InMemory Lies, and How to Isolate Real Databases (included with Full Access)15 min
    3. 06Testing Authentication and Authorization: 401, 403 and the Tenant 404 (included with Full Access)14 min
    4. 07Outbound HTTP in Integration Tests: Stub the Handler, Not the Client (included with Full Access)14 min
    5. 08Time and Background Work: FakeTimeProvider and Hosted Services in Tests (included with Full Access)14 min
    6. 09Shared Fixtures, Parallelism and Test Independence in xUnit (included with Full Access)13 min
    7. 10Error Contracts: Testing Problem Details, 404/405 and Malformed Input (included with Full Access)13 min

    Module 4 · Capstone and assessment

    2 lessons · 43 min
    1. 11External failures, idempotency and a release-readiness capstone (included with Full Access), video, cheat sheet, 1 practice test8 min
    2. 12Final Mock Interview: 25 Questions on ASP.NET Core Integration Testing (included with Full Access)35 min

    TechInterviewNotes Editorial Team ·