Create integration tests that spins up a Http client and tests the endpoints. Will use this guide as inspiration: https://timdeschryver.dev/blog/how-to-test-your-csharp-web-api. Our main priority is implementing integration tests, but it can be discussed whether we need unit tests aswell.
Create integration tests that spins up a Http client and tests the endpoints. Will use this guide as inspiration: https://timdeschryver.dev/blog/how-to-test-your-csharp-web-api. Our main priority is implementing integration tests, but it can be discussed whether we need unit tests aswell.