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

Today with .net tool/msbuild you can specify a coverage threshold below which it fails the build. https://github.com/tonerdo/coverlet/blob/master/Documentation/MSBuildIntegration.md#threshold This is not supported on vstest collector integration cc: @vagisha-nidhi

feature-request
driver-collectors
stale

**Describe the bug** I am using below dotnet test command to run unit-test and collect code coverage. While publishing the unit-test result using PublishTestResults@2 task getting "coverage.cobertura.xml was not found"...

question
stale

[BinaryFormatter removed from .NET 9](https://devblogs.microsoft.com/dotnet/binaryformatter-removed-from-dotnet-9/?hide_banner=true) [SYSLIB0051: Legacy serialization support APIs are obsolete](https://learn.microsoft.com/en-us/dotnet/fundamentals/syslib-diagnostics/syslib0051) >If you created a custom type derived from [System.Exception](https://learn.microsoft.com/en-us/dotnet/api/system.exception), consider whether you really need it to be serializable....

When using the coverlet.msbuild package in combination with Apire.Hosting.Testing for integration testing, the code coverage does not seem to work. I think this might be related to Aspire starting one...

untriaged

- updates the minimum requirement for .NET SDK and runtime to .NET 8.0 - replaces Newtonsoft.Json nuget packages with System.Text.Json which is shipped with .NET 8.0 related: #1713

This pull request updates the project to support .NET 8 and 9, modernizes dependencies, and refines the build and testing process. The most important changes include updating target frameworks, revising...

- Backport from PR #1660 - Solves #1747 > [!NOTE] > This PR should be replaced by PR #1660 which is using the latest `System.CommandLine` nuget package

Solved with PR #1745