Table of Contents

Coverlet.MTP.InProcDataCollection Namespace

Coverlet.MTP.InProcDataCollection exposes the legacy CoverletTestSessionHandler session integration. Use this page when maintaining code that already references that handler, rather than selecting it for a new coverage setup: its public start and finish callbacks throw NotImplementedException, and its explicit interface callbacks recursively dispatch to themselves.

Register coverage through CoverletExtensionProvider instead. That path selects the active in-process handler together with the controller instrumentation and report collection components. The legacy handler's enabled status does not establish that it can collect coverage.

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

Related: Coverlet.MTP.Configuration.

Classes

CoverletTestSessionHandler

Exposes the legacy coverage session handler for compatibility with existing integrations.