Skip to content

DiponRoy/WebApiTest

Repository files navigation

WebApiTest v.1.5

Testing WebApi with Self Host.

VS 2013 solutions.

Rebuild the solution, let nuget install dependencies,

Run the tests

Route Template:

  • use route template for web api routing.

Route Attribute:

  • use route attributes for web api routing.

Ioc:

  • default Ioc for integrated testing.
  • mocked Ioc for unit testing.
  • Priority of Ioc over Default constructor.

Sdk:

  • making sdk using WebClient for controllers
  • unit test of the sdk
  • need to use "localhost" for url, and run VS with administrator mode

Authorized:

  • token based authentication
  • unit test of authentication
  • need to use "localhost" for url, and run VS with administrator mode

About

Testing WebApi with Self Host

Resources

Stars

Watchers

Forks

Packages

No packages published