mtp-hot-reload

Featured

Suggests using Microsoft Testing Platform (MTP) hot reload to iterate fixes on failing tests without rebuilding. Use when user says "hot reload tests", "iterate on test fix", "run tests without rebuilding", "speed up test loop", "fix test faster", or needs to set up MTP hot reload to rapidly iterate on test failures. Covers setup (NuGet package, environment variable, launchSettings.json) and the iterative workflow for fixing tests. DO NOT USE FOR: writing test code, diagnosing test failures, CI/CD pipeline configuration, or Visual Studio Test Explorer hot reload (which is a different feature).

Data & Documents 6,272 stars 499 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# MTP Hot Reload for Iterative Test Fixing Set up and use Microsoft Testing Platform hot reload to rapidly iterate fixes on failing tests without rebuilding between each change. ## When to Use - User has one or more failing tests and wants to iterate fixes quickly - User wants to avoid rebuild overhead while fixing test code or production code - User asks about hot reload for tests or speeding up the test-fix loop - User needs to set up MTP hot reload in their project ## When Not to Use - User needs to write new tests from scratch (use general coding assistance) - User needs to diagnose why a test is failing (use diagnostic skills) - User wants Visual Studio Test Explorer hot reload (different feature, built into VS) - Project uses VSTest -- hot reload requires Microsoft Testing Platform (MTP) - User needs CI/CD pipeline configuration ## Inputs | Input | Required | Description | |-------|----------|-------------| | Test project path | No | Path to the test project (.csproj). Defaults to current directory. | | Failing test name or filter | No | Specific test(s) to iterate on | ## Workflow ### Step 1: Verify the project uses Microsoft Testing Platform Hot reload requires MTP. It does **not** work with VSTest. Follow the detection procedure in the `platform-detection` skill to determine the test platform. If the project uses VSTest, inform the user that MTP hot reload is not available and suggest migrating to MTP first (see `migrate-vstest-to-mtp`), or using Visual S...

Details

Author
dotnet
Repository
dotnet/skills
Created
9 months ago
Last Updated
today
Language
C#
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category