Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abdala762/SelfHost-APITesting

.Net Framework WebApi application with API tests using Moq and OWIN Self Host
https://github.com/abdala762/SelfHost-APITesting

csharp moq netframework owin self-hosted-api test-automation

Last synced: about 2 months ago
JSON representation

.Net Framework WebApi application with API tests using Moq and OWIN Self Host

Awesome Lists containing this project

README

        

# SelfHost-APITesting
This project is a simple .Net Framework WebApi application with API tests using [Moq](https://github.com/moq/moq) and [OWIN Self Host](https://docs.microsoft.com/en-us/aspnet/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api)

During the test execution, the application is Self Hosted with custom configurations (filters, handlers and even mocked interfaces on the dependency injection container) so we can use the HttpClient library to call our APIs endpoints and test its responses