I'm working on dotnet core project withd VS code inside a linux machine.
following below blog to generate coverage report: https://www.hanselman.com/blog/AutomaticUnitTestingInNETCorePlusCodeCoverageInVisualStudioCode.aspx
as mentioned there Im passing dotnet test arguments as below:
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=./lcov.info
and expecting to lcov.info file to be generated, but it doesn't.
am I missing anything here?
ps: I have this package already included
<PackageReference Include="coverlet.collector" Version="1.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>