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️⃣
Example01use controller(s) without dependency injection2️⃣
Example02use controller(s) and service(s) with unity dependency injection3️⃣
Example03use controller(s) and service(s) with ninject dependency injection4️⃣
Example04use controller(s) and service(s) with autofac dependency injection5️⃣
Example05use controller(s) with owin6️⃣
Example06use 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