https://github.com/aimenux/webapiintegrationtestsdemo
Using integration tests with web api projects
https://github.com/aimenux/webapiintegrationtestsdemo
alba fluent-assertions integration-testing net80 webapi xunit-tests
Last synced: about 1 year ago
JSON representation
Using integration tests with web api projects
- Host: GitHub
- URL: https://github.com/aimenux/webapiintegrationtestsdemo
- Owner: aimenux
- License: mit
- Created: 2023-03-07T16:03:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-30T12:52:12.000Z (about 1 year ago)
- Last Synced: 2025-01-30T13:33:41.985Z (about 1 year ago)
- Topics: alba, fluent-assertions, integration-testing, net80, webapi, xunit-tests
- Language: C#
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/aimenux/WebApiIntegrationTestsDemo/actions/workflows/ci.yml)
# WebApiIntegrationTestsDemo
```
Using integration tests with web api projects
```
> In this repo, i m exploring ways in order to setup integration tests with web api projects
>
> :one: `Example01` use minimal api
>
> :two: `Example02` use controller api
>
> :bulb: Integration tests are based on [Microsoft.AspNetCore.Mvc.Testing](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.testing) for example 1.
>
> :bulb: Integration tests are based on [Alba](https://jasperfx.github.io/alba) for example 2.
>
**`Tools`** : net 8.0, web api, integration-testing, alba, fluent-assertions, xunit