Integration Tests for ASP.NET Core Web APIs using MSTest

How to write integration tests for API endpoints using MSTest

Changhui Xu
codeburst
Published in
4 min readJan 25, 2021

--

We often want to write integration tests to evaluate our app’s whole request-response pipeline. For example, we want our API endpoints to return the same responses given the same requests. These integration tests are helpful in catching cases of missing properties in…

--

--

Lead Application Developer. MBA. I write blogs about .NET, Angular, JavaScript/TypeScript, Docker, AWS, DDD, and many others.