coverlet icon indicating copy to clipboard operation
coverlet copied to clipboard

Cross platform code coverage for .NET

Results 245 coverlet issues
Sort by recently updated
recently updated
newest added

**Describe the bug** After ensuring that an instance of `Nullable` is not `null` via `.HasValue`, coverlet still assumes the instance to be nullable and therefore the branch coverage indicates a...

untriaged
stale

I have some records that look like this `public record Class1;` which are tested but they are not included in the code coverage. Once I add an empty primary constructor...

untriaged
stale

Currently [in the docs](https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/VSTestIntegration.md#coverlet-options-supported-by-vstest-integration) it directs folks trying to merge coverage reports to look at a comment from 2020 with some Powershell script to help merge coverage reports. Since then,...

documentation
Solved

Update coverlet.console for latest version of [System.CommandLine API](https://github.com/dotnet/command-line-api). > [!Note] > New version [2.0.0-beta5.25277.114](https://www.nuget.org/packages/System.CommandLine/2.0.0-beta5.25277.114) of **System.CommandLine** nuget package was available on nuget.org for 1 day and now it is hidden....

'Microsoft.ApplicationInsights' became a new transitive dependency for 'MSTest.TestAdapter' v3.2.0. The coverlet would now generate coverage report for 'Microsoft.ApplicationInsights'. Can we make coverlet to exclude the 'Microsoft.ApplicationInsights' package by default? More...

question
stale

We have a C# project - https://github.com/twilio/twilio-csharp. We were earlier calculating coverage using these steps: ``` dotnet sonarscanner begin /k:"$(PROJECT_NAME)" /o:"twilio" /d:sonar.host.url=https://sonarcloud.io /d:sonar.token="${SONAR_TOKEN}" /d:sonar.language="cs" $(SONAR_SOURCES) /d:sonar.cs.opencover.reportsPaths="test/lcov.opencover.xml" /d:"sonar.verbose=true" # Write to...

question
needs more info
waiting for customer

**Describe the bug** There appears to be an pretty severe inconsistency between the cobetura output in .NET 7 and .NET 8. Please see issue below for details. **To Reproduce** See...

untriaged

Currently we are running coverlet in self hosted CI runners and these runners cache other builds as well. This causes coverlet to go up the directory tree to find a...

question
waiting for customer
stale

I had some trouble debugging why my assembly wasn't picked up by coverlet. I enabled verbose logging but only saw expected modules being excluded. The module I was interested in...

I was running performance comparison for roslyn tests projects. Results below. We were investigating why coverlet is much slower. You can clone https://github.com/dotnet/roslyn and retry this testing. Few things that...

tenet-performance
stale