Skip to content

Testing

What separates a senior tester from a junior: knowing when to drop mocks for real dependencies, when integration tests pay back their cost, and how to architect a test suite that gives confidence without strangling refactors.

Topics (canonical order)

Why this order

Fundamentals first because every test depends on them. WebApplicationFactory next because it's the canonical ASP.NET Core integration entry point. Testcontainers follows because real dependencies replace mocks. Snapshot + mutation come third because they're advanced techniques that complement the basics. Test architecture closes the section because it's a synthesis topic that depends on understanding all the prior tools.

Cross-references