Using integration tests with web api v2 projects
In this repo, i m exploring various ways in order to setup integration tests with web api v2 projects
1️⃣
Example01
use controller(s) without dependency injection2️⃣
Example02
use controller(s) and service(s) with unity dependency injection3️⃣
Example03
use controller(s) and service(s) with ninject dependency injection4️⃣
Example04
use controller(s) and service(s) with autofac dependency injection5️⃣
Example05
use controller(s) with owin6️⃣
Example06
use controller(s) with owin self hosting💡 Integration tests are based on in-memory HttpServer for examples 1 to 4.
💡 Integration tests are based on owin for examples 5 to 6.
Tools
: vs22, net 4.8, web api v2, owin, unity, ninject, autofac, integration-testing