make test-postit
This commit is contained in:
parent
70f8b7986e
commit
26e4fde1e7
2 changed files with 13 additions and 4 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
12
Makefile
12
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue