@@ -22,12 +22,13 @@ dotnet pack -c release
22
22
dotnet build-server shutdown
23
23
24
24
# Run tests with code coverage
25
- dotnet test test/coverlet.core .tests/coverlet.core.tests.csproj -c debug --no-build -bl:test.core.binlog /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude=" [coverlet.core.tests.samples.netstandard]*%2c[coverlet.tests.projectsample]* " /p:ExcludeByAttribute= " GeneratedCodeAttribute " -- -- results-directory " artifacts/Reports " --report-xunit-trx --report-xunit-trx-filename " coverlet.core.tests.trx " --diagnostic --diagnostic-output-directory " artifacts/log/debug" --diagnostic-output-fileprefix " coverlet.core.tests "
25
+ dotnet test test/coverlet.collector .tests /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude=" [coverlet.core.tests.samples.netstandard]*" -- results-directory: " ./ artifacts/reports " --diag: " artifacts/log/debug/ coverlet.collector.test.log;tracelevel=verbose "
26
26
dotnet build-server shutdown
27
- dotnet test test/coverlet.core.coverage. tests/coverlet.core.coverage.tests.csproj -c debug --no-build -bl:test.core.coverage.binlog /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude=" [coverlet.core.tests.samples.netstandard]*%2c[coverlet.tests.projectsample]* " /p:ExcludeByAttribute= " GeneratedCodeAttribute " -- -- results-directory " artifacts/Reports " --report-xunit-trx --report-xunit-trx-filename " coverlet.core.coverage.tests.trx " --diagnostic --diagnostic-output-directory " artifacts/log/debug" --diagnostic-output-fileprefix " coverlet.core.coverage. tests"
27
+ dotnet test test/coverlet.core.tests /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude=" [coverlet.core.tests.samples.netstandard]*" -- results-directory: " ./ artifacts/reports " --verbosity detailed --diag ./ artifacts/log/debug/ coverlet.core.tests.log
28
28
dotnet build-server shutdown
29
- dotnet test test/coverlet.msbuild.tasks .tests/coverlet.msbuild.tasks.tests.csproj -c debug --no-build -bl:test.msbuild.binlog /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude=" [coverlet.core.tests.samples.netstandard]*%2c[coverlet.tests.projectsample]* " /p:ExcludeByAttribute= " GeneratedCodeAttribute " -- --results-directory: " artifacts/Reports " --report-xunit-trx --report-xunit-trx-filename " coverlet.msbuild.tasks.tests.trx " --diagnostic --diagnostic-output-directory " artifacts/log/debug" --diagnostic-output-fileprefix " coverlet.msbuild.tasks.tests "
29
+ dotnet test test/coverlet.core.coverage .tests /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude=" [coverlet.core.tests.samples.netstandard]*" -- --results-directory " $( pwd ) / artifacts/reports " --diagnostic-verbosity debug --diagnostic --diagnostic-output-directory " $( pwd ) / artifacts/log/debug"
30
30
dotnet build-server shutdown
31
- dotnet test test/coverlet.collector.tests/coverlet.collector. tests.csproj -c debug --no-build -bl:test.collector.binlog /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude=" [coverlet.core.tests.samples.netstandard]*%2c[coverlet.tests.projectsample]* " /p:ExcludeByAttribute= " GeneratedCodeAttribute " --diag: " artifacts/log/debug/coverlet.collector.test.diag .log;tracelevel=verbose "
31
+ dotnet test test/coverlet.msbuild.tasks. tests /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude=" [coverlet.core.tests.samples.netstandard]*" --results-directory: " ./artifacts/reports " --verbosity detailed -- diag ./ artifacts/log/debug/coverlet.msbuild.tasks.tests .log
32
32
dotnet build-server shutdown
33
- dotnet test test/coverlet.integration.tests/coverlet.integration.tests.csproj -c debug --no-build -bl:test.integration.binlog -- --results-directory " artifacts/Reports" --report-xunit-trx --report-xunit-trx-filename " coverlet.integration.tests.trx" --diagnostic --diagnostic-output-directory " artifacts/log/debug" --diagnostic-output-fileprefix " coverlet.integration.tests"
33
+ dotnet test test/coverlet.integration.tests -f net8.0 --results-directory:" ./artifacts/reports" --verbosity detailed --diag ./artifacts/log/debug/coverlet.integration.tests.net8.log
34
+ dotnet test test/coverlet.integration.tests -f net9.0 --results-directory:" ./artifacts/reports" --verbosity detailed --diag ./artifacts/log/debug/coverlet.integration.tests.net9.log
0 commit comments