make test-postit

This commit is contained in:
Paul Schneider 2026-09-25 23:25:03 +01:00
commit 26e4fde1e7
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12
2 changed files with 13 additions and 4 deletions

5
.gitignore vendored
View file

@ -45,7 +45,6 @@ DataDir/
# gitleaks scan output (local secret-scan report, not for the repo)
/gitleaks-report.json
/test-report.html
/test-report.xml
# Exclude test reports (local test report, not for the repo)
/test-reports

View file

@ -21,7 +21,17 @@ src/Yavsc/bin/output/wwwroot:
dotnet --project src/Yavsc.Org/Yavsc.Org.csproj publish
test:
ASPNETCORE_ENVIRONMENT=Development dotnet test
ASPNETCORE_ENVIRONMENT=Development dotnet test --report-xunit \
--report-xunit-html \
--report-xunit-html-filename "test-results.html"
test-postit:
ASPNETCORE_ENVIRONMENT=Development dotnet test \
--report-xunit \
--report-xunit-html \
--results-directory "test-reports" \
--report-xunit-html-filename "postit-test-results.html" \
--project src/PostIt/PostIt.Tests/PostIt.Tests.csproj
watch:
dotnet watch -p:Configuration=$(CONFIG) --project src/Yavsc/Yavsc.csproj