dotnet-mtp
CommunityMaster MTP CLI filters for .NET tests.
Authormdementyev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Microsoft Testing Platform (MTP) replaces VSTest as the test runner for modern .NET test frameworks (TUnit, MSTest 3.x+). It requires explicit CLI flags for solutions and projects, and uses a non-obvious treenode-filter syntax for selecting tests. It also handles code coverage collection with the --coverage flag and guidance on avoiding VSTest's legacy --collect mechanism.
Core Features & Use Cases
- Explicit CLI usage for running tests: use --solution for solutions and --project for projects.
- Advanced test filtering with --treenode-filter, including the four-level path pattern (Assembly/Namespace/Class/Method) and logical operators.
- Coverage-aware testing: enable and configure code coverage collection via --coverage and related options, with recommended best practices.
Quick Start
Run dotnet test with explicit --solution or --project flags and a valid --treenode-filter expression to target tests.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dotnet-mtp Download link: https://github.com/mdementyev/my-claude-harness/archive/main.zip#dotnet-mtp Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.