Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 21 days ago
JSON representation
.Net Framework WebApi application with API tests using Moq and OWIN Self Host
- Host: GitHub
- URL: https://github.com/abdala762/SelfHost-APITesting
- Owner: abdala762
- Created: 2020-02-04T20:50:50.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T09:39:04.000Z (almost 2 years ago)
- Last Synced: 2023-02-28T19:03:00.843Z (over 1 year ago)
- Topics: csharp, moq, netframework, owin, self-hosted-api, test-automation
- Language: C#
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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