Vstest: Add support for dotnet test --collect:"Code Coverage" for non VS-Enterprise users

Created on 1 Dec 2017  路  3Comments  路  Source: microsoft/vstest

Description

Can we have code coverage for non-enterprise Visual Studio Users?

dotnet test --collect:"Code Coverage" only works if Visual Studio Enterprise is installed.

Ability to check code coverage is important for any application development. So, can we please have this prioritized?

Thanks!

enhancement coverage dotnet-cli 1

Most helpful comment

I'm trying to make the argument at my company to migrate to .NET Core. I can't in good conscience make this argument though because we would be losing code coverage in our CI/CD pipeline.

In my opinion, the enhancement label should be removed for this issue. Code coverage is an integral part of tooling. It is not an enhancement. Build tooling is not feature-complete without code coverage.

All 3 comments

I'm trying to make the argument at my company to migrate to .NET Core. I can't in good conscience make this argument though because we would be losing code coverage in our CI/CD pipeline.

In my opinion, the enhancement label should be removed for this issue. Code coverage is an integral part of tooling. It is not an enhancement. Build tooling is not feature-complete without code coverage.

We are starting on enabling code coverage via dotnet test as described in this RFC.

Dupe of https://github.com/Microsoft/vstest/issues/981 . Installing VS 15.8(non-enterprise also) should fix this issue.

Was this page helpful?
0 / 5 - 0 ratings