Use the open-source free `coverlet` toolchain for .NET code coverage.
Test Platform and Framework Detection
Identify a .NET project's test platform, framework, command mode, and SDK-style vs classic project system. Use only for "which test platform/framework?", "VSTest or MTP?", or "what runner does this project use?", including bridge settings, UseVSTest opt-outs, and incompatible or conflicting VSTest/MTP configuration. Resolves global.json, project, packages.config, Directory.Build.props, and Directory.Packages.props precedence for MSTest/xUnit/NUnit/TUnit. DO NOT USE when the user asks to run/filter tests or for commands, flags, TRX/dumps, or test-command/filter errors; use run-tests directly. Do not use for hot reload or migration.
Related skills
coverlet.collectorcoverlet.msbuild
Write, run, or repair .NET tests that use MSTest.
MSTestMSTest.TestFrameworkMSTest.TestAdapter
Write, run, or repair .NET tests that use NUnit.
NUnitNUnit3TestAdapter