Building Test Suites for .NET Web APIs

You built an API in .NET, put it in production, customers are using it, and now you have promises to keep. Promises related to the API contract and behavior. A good test suite will help you keep those promises by protecting against regressions.

It will allow you to quickly iterate, add new features and expand the API if it is resistant to refactoring and is giving fast feedback. This presentation is about how to build such a test suite. It discusses and showcases how to verify the API contract, the API’s behavior, and cross-cutting concerns like authentication and authorization. It covers the pros/cons of various approaches regarding test runtime, coverage, and usage of test doubles versus end-to-end (E2E) testing using real data stores, among other things.

Video producer: https://oredev.org/