Modified test.sh to work with multiple test projects and output in the opencover format.
This commit is contained in:
parent
c9e6706e9b
commit
832ab632c5
6
test.sh
6
test.sh
@ -1,2 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
dotnet test -v n --collect:"XPlat Code Coverage" tests/GameServiceWarden.Core.Tests
|
for PROJ in tests/**/*.csproj
|
||||||
|
do
|
||||||
|
echo "Testing $PROJ"
|
||||||
|
dotnet test -v n --collect:"XPlat Code Coverage" "$PROJ" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
|
||||||
|
done
|
Reference in New Issue
Block a user