What problem does it solve?
It solves the slow feedback loop of rebuilding between test-fix iterations when tests are failing, by enabling hot reload for Microsoft Testing Platform (MTP) test runs.
Core Features & Use Cases
- Rapid iteration on failing tests: Re-run affected tests automatically after code changes in the test host, without the full rebuild cycle.
- MTP-specific workflow: Works with MTP-based runners (not VSTest), helping you keep the test loop tight while staying compatible with the correct platform.
- Repeatable developer setup: Supports enabling hot reload via environment variables or launchSettings.json for consistent local workflows.
Use case example: You have a failing integration test in an ASP.NET Core solution and need to repeatedly adjust production code and assertions until the test passes, while avoiding the cost of rebuilding every attempt.
Quick Start
Enable MTP hot reload by installing Microsoft.Testing.Extensions.HotReload, setting TESTINGPLATFORM_HOTRELOAD_ENABLED=1 (e.g., in launchSettings.json), and starting the test host with dotnet run --project <test-project-path> so it stays running and re-runs targeted tests as you edit.