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

coverlet nuget packages have already a score which could be improved with low effort e.g. [Coverlet.collector](https://deps.dev/nuget/coverlet.collector). low hanging fruits • SBOM metadata for nuget package (#1752) • use Code-QL (SAST)...

discussion

I'm encountering a branch coverage false positive when using short-circuiting logical operators (|| or &&). **Example** selectedCustomer.IsNewCustomer = myDate == null || myDate > DateTime.UtcNow; In this expression, if myDate...

untriaged

**Describe the bug** Code Coverage on NET8.0 WPF project is empty. **To Reproduce** Create a .NET8 WPF project and refrence an enum value out of 'PresentationFramework' as default value. ```csharp...

bug
documentation
with repro

**Describe the bug** The moment I reference the Sentry.AspNetCore package in my test subject project i get no coverage information whatsoever (specifically Sentry.AspNetCore version 5.5.0). I did not configure the...

question
needs more info

**Describe the bug** When producing coverage reports in cobertura format, the way the path is split between the `` tag and the `filename` attribute on class tags is inconsistent across...

duplicate
question

- Added `devcontainer.json` for .NET 8.0 development environment with VS Code customizations. - Introduced `build-all.sh` script to automate the build process for Coverlet, including cleanup, building projects, and running tests...

**Describe the bug** Please share a clear and concise description of the problem. **To Reproduce** 1. Create WebAPI and UnitTest projects from template. 2. Add Mediator packages to WebAPI project...

enhancement
stale

**Describe the bug** When producing code coverage for a WebApi/MVC project, if a Controller has no explicit constructor, it may not produce any code coverage results for the entire file....

untriaged
stale

**Describe the bug** Exceptions were used instead of return values ([exit codes](https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/GlobalTool.md#exit-codes)). > 0 - Success. > 1 - If any test fails. > 2 - Coverage percentage is below...

bug

**Describe the bug** Attempting to run coverage tests under a path that differs from compilation fails to instrument correctly causing no coverage to be reported, even with deterministic builds. **To...

discussion
untriaged