Testability and designDfTThe attribute of controlThe attribute of visibilityThe attribute of simplicityLoosen up your designInterface-based programmingRelativity of software testabilityTestability and couplingTestability and object orientationThe basics of unit testingWorking with a test harnessChoosing a test environmentTest fixturesArrange, act, assertData-driven testsAspects of testingVery limited scopeTesting in isolationFakes and mocksNumber of assertions per testTesting inner membersCode coverageTesting your ASP.NET MVC codeWhich part of your code should you test?How do I find relevant code to test?The domain layerThe orchestration layerThe data access layerUnit testing ASP.NET MVC codeTesting whether the returned view is correctTesting localizationTesting redirectionsTesting routesDealing with dependenciesAbout mock and fake objectsTesting code that performs data accessMocking the HTTP contextMocking the HttpContext objectMocking the Request objectMocking the Response objectMocking the Session objectMocking the Cache objectSummary