Microsoft.Testing.Extensions.HotReload
This package extends Microsoft Testing Platform to provide Hot Reload support. Microsoft Testing is a set of platform, framework and protocol intended to make it possible to run any test on any target or device.
Install
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
Microsoft.Testing.Extensions.HotReload
Microsoft.Testing.Extensions.HotReload is an extension for Microsoft.Testing.Platform that enables Hot Reload support, allowing you to apply code changes to your running tests without restarting the test host process.
Microsoft.Testing.Platform is open source. You can find Microsoft.Testing.Extensions.HotReload code in the microsoft/testfx GitHub repository.
Install the package
dotnet add package Microsoft.Testing.Extensions.HotReload
About
This package extends Microsoft.Testing.Platform with:
- Hot Reload integration: apply code changes to your test project without restarting the test host
- Faster inner loop: reduces the time between making a change and seeing the test results
- Console-mode support: currently supported in console mode (not in Visual Studio/VS Code Test Explorer)
Usage
Enable Hot Reload support by setting TESTINGPLATFORM_HOTRELOAD_ENABLED=1.
Documentation
For this extension, see https://learn.microsoft.com/dotnet/core/testing/microsoft-testing-platform-hot-reload.
For comprehensive documentation, see https://aka.ms/testingplatform.
Feedback & contributing
Microsoft.Testing.Platform is an open source project. Provide feedback or report issues in the microsoft/testfx GitHub repository.
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.