From 26e4fde1e714445a9b2b03c2aff2fbbd608b0c92 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Fri, 25 Sep 2026 23:25:03 +0100 Subject: [PATCH] make test-postit --- .gitignore | 5 ++--- Makefile | 12 +++++++++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index c1b184a87..32d9c064d 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/Makefile b/Makefile index e883088c2..dd5207002 100644 --- a/Makefile +++ b/Makefile @@ -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