Table of Contents

Coverlet.MTP.Configuration Namespace

Coverlet.MTP.Configuration describes coverage filters, report formats and thresholds for the MTP integration. Inspect CoverletMTPSettings when diagnosing the effective coverage configuration; setting properties on a standalone instance does not apply those settings to a running test application. Normal consumers configure the package with command-line options or coverlet.mtp.appsettings.json.

Start with CoverletExtensionProvider for complete extension registration. CoverletConfigurationExtensions.AddCoverletCodeCoverage registers only the legacy session handler: its callbacks are not implemented, so it is not a working alternative to full registration.

Extension Members

Type Ext Methods
ITestApplicationBuilder ⬇️ AddCoverletCodeCoverage

Availability: .NET 11, .NET 10 and .NET Standard 2.0

Related: Coverlet.MTP, Coverlet.MTP.InProcDataCollection.

Classes

CoverletConfigurationExtensions

Registers the legacy Coverlet session handler on a test application builder.

CoverletMTPSettings

Describes coverage filters, reports and threshold settings for the MTP integration.