| Logger | Stable Package | Pre-release Package |
|---|---|---|
| Spekt.VSTest.Coverage.Report |
Stop .NET(any) developer from shipping a bug. If we have to say nicely Let's not ship another bug because software failures cost the worldwide economy $1.1 trillion in 2016 and everybody hates bug.
Steps to build/test this repo. Use these commands in root directory of repo.
> dotnet pack> dotnet test src/CodeCoverageToLcovConverterTests/CodeCoverageReaderTests.csproj > dotnet test src/Coverage.Report.Tests/Coverage.Report.Tests.csproj # Windows only test > dotnet test src/Coverage.TestLogger.Tests/Coverage.TestLogger.Tests.csproj
Use these steps to validate the task wire up.
> rm -rf packages/spekt.vstest.coverage.report > dotnet pack > cd src/Coverage.Report.Tests/TestAssets/sampletest > rm -rf obj # Run tests, note expected output below > dotnet test Build started, please wait... Build completed. Test run for /home/arun/src/gh/spekt/vstest.coverage/src/Coverage.Report.Tests/TestAssets/sampletest/bin/Debug/netcoreapp2.1/sampletest.dll(.NETCoreApp,Version=v2.1) Microsoft (R) Test Execution Command Line Tool Version 15.3.0-preview-20170628-02 Copyright (c) Microsoft Corporation. All rights reserved. Starting test execution, please wait... Total tests: 1. Passed: 1. Failed: 0. Skipped: 0. Test Run Successful. Test execution time: 0.9290 Seconds ================================================= | Module | Coverage | ================================================= | Spekt.Vstest.Coverage.Report | 99.99% | =================================================
Provide awesome experience to view code coverage data in VS Code which is collected by "dotnet test"
Idea inspired by Scott Hanselman blog and .NET Core developers( special thanks to @sesispla for bringing blog to our attention) ask from vstest issue