dotnet new xunit -n Fls.Supervision.Test.Integration.
Things might get tricky along the way. But for now we'll keep it simple. Just add a test for the webhook endpoint sending a JSON just like the one GitHub would send when pinging our backend. Find a way to create a test host for the way we create our regular host with no startup class.
Create an xunit integration tests project using
dotnet new xunit -n Fls.Supervision.Test.Integration
.Things might get tricky along the way. But for now we'll keep it simple. Just add a test for the webhook endpoint sending a JSON just like the one GitHub would send when pinging our backend. Find a way to create a test host for the way we create our regular host with no startup class.