Create Web APIs with ASP.NET Core Using Outside In TDD
summary
Live-coding builds a web API in ASP.NET Core using outside-in TDD: one acceptance test drives the outer loop and a suite of unit tests fills the inner loop, with mocks/doubles used to keep acceptance tests fast. Tests target clear boundaries: controller-level tests verify translation to application types, application-service tests verify repository side effects, integration tests check adapter-to-database shape, and very few end-to-end tests validate overall configuration.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:04Direction of development
- 2:56Classic vs. London School of TDD
- 6:45Test doubles
- 13:15Boundaries - Acceptance tests
- 14:42Boundaries - Unit tests
- 24:46Boundaries - Integration tests
- 29:26Boundaries - End-to-end tests
- 31:12Where does design happen in the TDD cycle?
- 34:33Questions and Answers
related talks
01h 02mTesting First - Getting The How
51mBuilding Web APIs with ASP.NET Core
45mTesting Your Web Apps
58mTesting strategy for your ASP.NET Core micro-service
01h 18mProfessional Web APIs using ASP.NET Core 2.1
59mClean Architecture With ASP.NET Core
41mTesting .NET Web APIs from A to Z
58mMinimal APIs in ASP NET 6 0
