Commit 268a879c authored by Nick Craver's avatar Nick Craver

Build: output test results in XML

Trying to get this to register in VSTS...
parent cdf9d033
......@@ -19,5 +19,6 @@ StackExchange.Redis.*.zip
.idea/
.vs/
*.lock.json
test-results*.xml
packages/
StackExchange.Redis.Tests/*Config.json
......@@ -77,7 +77,7 @@ if ($RunTests) {
#Push-Location ".\tests\$project"
Push-Location ".\$project"
dotnet xunit -configuration Release
dotnet xunit -configuration Release -xml ./test-results.xml
if ($LastExitCode -ne 0) {
Write-Host "Error with tests, aborting build." -Foreground "Red"
Pop-Location
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment