Add MicCheck.Api.Tests.Integration project

NUnit integration tests that target a running API by URL and seed/clean
data directly in Postgres. Settings (BaseUrl, DbConnectionString) come
from .runsettings or environment variables so tests can be pointed at
any environment. HTTP requests live in HttpFiles/*.http; assertion
failures include a fresh DB snapshot of the relevant rows. First test
covers the flag-enabled path.
This commit is contained in:
2026-06-03 19:12:47 -07:00
parent d916549402
commit d1a41d84d7
11 changed files with 547 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
### GetFlags
GET {{baseUrl}}/api/v1/flags
X-Environment-Key: {{environmentKey}}
Accept: application/json