https://github.com/dotnet-labs/apicontrollerintegrationtests
Integration Tests for API Controllers using MSTest
https://github.com/dotnet-labs/apicontrollerintegrationtests
controller dotnet dotnetcore integration-testing integration-tests mstest mstestv2
Last synced: 12 days ago
JSON representation
Integration Tests for API Controllers using MSTest
- Host: GitHub
- URL: https://github.com/dotnet-labs/apicontrollerintegrationtests
- Owner: dotnet-labs
- License: mit
- Created: 2021-01-15T19:33:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-07T18:55:21.000Z (over 1 year ago)
- Last Synced: 2025-03-24T22:40:49.048Z (30 days ago)
- Topics: controller, dotnet, dotnetcore, integration-testing, integration-tests, mstest, mstestv2
- Language: C#
- Homepage:
- Size: 188 KB
- Stars: 17
- Watchers: 1
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Integration Tests for API Controllers using MSTest
[](https://ko-fi.com/I3I63W4OK)
## [Medium Article](https://codeburst.io/integration-tests-for-asp-net-core-web-apis-using-mstest-f4e222a3bc8a)

The article [Integration tests in ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/test/integration-tests) in the ASP.NET official documentation has covered lots of aspects on the integration tests in ASP.NET Core using xUnit test framework. However, it brings up confusions and difficulties to developers who are more familiar to other test frameworks. For example, questions in GitHub issues [1](https://github.com/dotnet/AspNetCore.Docs/issues/7749)
## License
Feel free to use the code in this repository as it is under MIT license.
[](https://ko-fi.com/I3I63W4OK)