axodox / AxoCover

Nice and free .Net code coverage support for Visual Studio with OpenCover.
https://marketplace.visualstudio.com/items?itemName=axodox1.AxoCover
MIT License
249 stars 60 forks source link

Split functionality in run/cover and result parsing of trx/opencover-xml files. #198

Open Steinblock opened 5 years ago

Steinblock commented 5 years ago

There are already some issues regarding .net core support: #9 #33

Instead of activly building a test runner with .net core support and supporting the mstest/xunit/nunit core versions, it would be a great idea to split the functionality of axocover into two parts

So for dotnet core projects you could just invoke dotnet test with a string for additional arguments the user woud provide and watch for the trx/coverage.xml files to update.

This way I could write

dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencove --logger "trx;LogFileName=testrun.trx"

and still have coverage markers.