vkamiansky / github-supervision-api

An API gateway for GitHub project activities analysis system
MIT License
0 stars 4 forks source link

Add integration tests to cover webhook scenarios #4

Open vkamiansky opened 4 years ago

vkamiansky commented 4 years ago

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.