-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from microsoft/fhnaseer/cc-17.11.3
Upgrading CodeCoverage version to 17.11.3
- Loading branch information
Showing
46 changed files
with
148 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Algorithms.Core.Tests | ||
dotnet run --coverage --coverage-output report.cobertura.xml --coverage-output-format cobertura | ||
dotnet run --coverage --coverage-output report.cobertura.xml --coverage-output-format cobertura | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Algorithms.Core.Tests | ||
dotnet run --coverage --coverage-output report.cobertura.xml --coverage-output-format cobertura --coverage-settings $PSScriptRoot/coverage.config | ||
dotnet run --coverage --coverage-output report.cobertura.xml --coverage-output-format cobertura --coverage-settings $PSScriptRoot/coverage.config | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Algorithms.Core.Tests | ||
dotnet build /p:MsCodeCoverageInstrumentation="true" | ||
dotnet run --no-build --coverage --coverage-output report.cobertura.xml --coverage-output-format cobertura | ||
dotnet run --no-build --coverage --coverage-output report.cobertura.xml --coverage-output-format cobertura | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Algorithms.Core.Tests | ||
dotnet build | ||
dotnet tool install -g dotnet-coverage | ||
dotnet-coverage collect --output report.cobertura.xml --output-format cobertura "dotnet run --no-build" | ||
dotnet-coverage collect --output report.cobertura.xml --output-format cobertura "dotnet run --no-build" | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../src/Algorithms.Console | ||
dotnet publish -r win-x64 -c Release /p:AotMsCodeCoverageInstrumentation="true" | ||
dotnet tool install -g dotnet-coverage | ||
dotnet-coverage collect --output report.cobertura.xml --output-format cobertura bin\Release\net8.0\win-x64\publish\Algorithms.Console.exe | ||
dotnet-coverage collect --output report.cobertura.xml --output-format cobertura bin\Release\net8.0\win-x64\publish\Algorithms.Console.exe | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Algorithms.Core.NativeAot.Tests | ||
dotnet publish -c Release -r win-x64 /p:AotMsCodeCoverageInstrumentation="true" | ||
.\bin\Release\net8.0\win-x64\publish\Algorithms.Core.NativeAot.Tests.exe --coverage --coverage-output-format cobertura --coverage-output report.cobertura.xml | ||
.\bin\Release\net8.0\win-x64\publish\Algorithms.Core.NativeAot.Tests.exe --coverage --coverage-output-format cobertura --coverage-output report.cobertura.xml | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Algorithms.Core.MSTest.Sdk.Tests | ||
dotnet run --coverage --coverage-output report.cobertura.xml --coverage-output-format cobertura | ||
dotnet run --coverage --coverage-output report.cobertura.xml --coverage-output-format cobertura | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Calculator.Core.Tests | ||
dotnet test --collect "Code Coverage" | ||
dotnet test --collect "Code Coverage" | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Calculator.Core.Tests | ||
dotnet test --collect "Code Coverage;Format=cobertura" | ||
dotnet test --collect "Code Coverage;Format=cobertura" | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Calculator.Core.Tests | ||
dotnet test --settings ../../scenarios/scenario03/coverage.runsettings | ||
dotnet test --settings ../../scenarios/scenario03/coverage.runsettings | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Calculator.Core.Tests | ||
dotnet test --collect "Code Coverage;Format=xml" | ||
dotnet test --collect "Code Coverage;Format=xml" | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Calculator.Core.Tests | ||
dotnet test --settings ../../scenarios/scenario05/coverage.runsettings | ||
dotnet test --settings ../../scenarios/scenario05/coverage.runsettings | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Calculator.Core.Tests | ||
dotnet test --settings ../../scenarios/scenario06/coverage.runsettings | ||
dotnet test --settings ../../scenarios/scenario06/coverage.runsettings | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Calculator.Core.Tests | ||
dotnet test --settings ../../scenarios/scenario07/coverage.runsettings | ||
dotnet test --settings ../../scenarios/scenario07/coverage.runsettings | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../src/Calculator.Console | ||
dotnet build | ||
dotnet tool install -g dotnet-coverage | ||
dotnet-coverage collect -f cobertura "dotnet run --no-build add 10 24" | ||
dotnet-coverage collect -f cobertura "dotnet run --no-build add 10 24" | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../src/Calculator.Console | ||
dotnet build | ||
dotnet tool install -g dotnet-coverage | ||
dotnet-coverage collect -f cobertura -s ../../scenarios/scenario09/coverage.runsettings --include-files "./bin/Debug/**/*.dll" "dotnet run --no-build add 10 24" | ||
dotnet-coverage collect -f cobertura -s ../../scenarios/scenario09/coverage.runsettings --include-files "./bin/Debug/**/*.dll" "dotnet run --no-build add 10 24" | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../src/Calculator.Console | ||
dotnet build | ||
cd $PSScriptRoot/../../tests/Calculator.Console.Tests | ||
dotnet test --settings ../../scenarios/scenario11/coverage.runsettings | ||
dotnet test --settings ../../scenarios/scenario11/coverage.runsettings | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../src/Calculator.Console | ||
dotnet build | ||
cd $PSScriptRoot/../../tests/Calculator.Console.Tests | ||
dotnet test --settings ../../scenarios/scenario12/coverage.runsettings | ||
dotnet test --settings ../../scenarios/scenario12/coverage.runsettings | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../tests/Calculator.Server.Tests | ||
dotnet test --collect "Code Coverage" | ||
dotnet test --collect "Code Coverage" | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../src/Calculator.Console | ||
dotnet build | ||
$env:STATIC_INSTRUMENTATION_DIR="$PSScriptRoot/../../src/Calculator.Console" | ||
cd $PSScriptRoot/../../tests/Calculator.Console.Tests | ||
dotnet test --settings ../../scenarios/scenario22/coverage.runsettings | ||
dotnet test --settings ../../scenarios/scenario22/coverage.runsettings | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../../src/Calculator.Console | ||
dotnet build | ||
$env:STATIC_INSTRUMENTATION_DIR="$PSScriptRoot/../../src/Calculator.Console" | ||
cd $PSScriptRoot/../../tests/Calculator.Console.Tests | ||
dotnet test --settings ../../scenarios/scenario23/coverage.runsettings | ||
dotnet test --settings ../../scenarios/scenario23/coverage.runsettings | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../.. | ||
dotnet build | ||
dotnet test --no-build --collect "Code Coverage" | ||
dotnet test --no-build --collect "Code Coverage" | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
Push-Location | ||
cd $PSScriptRoot/../.. | ||
dotnet build | ||
dotnet tool install -g dotnet-coverage | ||
dotnet-coverage collect -f cobertura -o report.cobertura.xml "dotnet test --no-build" | ||
dotnet-coverage collect -f cobertura -o report.cobertura.xml "dotnet test --no-build" | ||
Pop-Location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.