/WebApiIntegrationTestsDemo

Using integration tests with web api projects

Primary LanguageC#MIT LicenseMIT

.NET

WebApiIntegrationTestsDemo

Using integration tests with web api projects

In this repo, i m exploring ways in order to setup integration tests with web api projects

1️⃣ Example01 use minimal api

2️⃣ Example02 use controller api

💡 Integration tests are based on Microsoft.AspNetCore.Mvc.Testing for example 1.

💡 Integration tests are based on Alba for example 2.

Tools : vs22, net 6.0, web api, integration-testing, alba, fluent-assertions, xunit