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.
23 lines
806 B
Plaintext
23 lines
806 B
Plaintext
<Solution>
|
|
<Folder Name="/Solution Items/">
|
|
<File Path=".editorconfig" />
|
|
<File Path=".gitignore" />
|
|
<File Path="CLAUDE.md" />
|
|
<File Path="docker-compose.yml" />
|
|
<File Path="readme.md" />
|
|
</Folder>
|
|
<Folder Name="/src/">
|
|
<Project Path="src/admin/Admin.esproj">
|
|
<Build />
|
|
<Deploy />
|
|
</Project>
|
|
<Project Path="src/api/MicCheck.Api/MicCheck.Api.csproj" />
|
|
<Project Path="src/MicCheck.AppHost/MicCheck.AppHost.csproj" />
|
|
<Project Path="src/MicCheck.ServiceDefaults/MicCheck.ServiceDefaults.csproj" />
|
|
</Folder>
|
|
<Folder Name="/tests/">
|
|
<Project Path="tests/api/MicCheck.Api.Tests.Unit/MicCheck.Api.Tests.Unit.csproj" />
|
|
<Project Path="tests/api/MicCheck.Api.Tests.Integration/MicCheck.Api.Tests.Integration.csproj" />
|
|
</Folder>
|
|
</Solution>
|