test.sh now logs to trx format for test result reports.

This commit is contained in:
Harrison Deng 2021-03-30 21:10:21 -05:00
parent 832ab632c5
commit 522b34810e

View File

@ -2,5 +2,5 @@
for PROJ in tests/**/*.csproj
do
echo "Testing $PROJ"
dotnet test -v n --collect:"XPlat Code Coverage" "$PROJ" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
dotnet test --logger trx -v n --collect:"XPlat Code Coverage" "$PROJ" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
done