Live Unit Testing overview
Live Unit Testing executes your unit tests automatically and in real time as you make code changes. This lets you refactor and change code with greater confidence. Live Unit Testing automatically executes all impacted tests as you edit your code to ensure that your changes do not introduce regressions.
Live Unit Testing indicates whether your unit tests adequately cover your code. It graphically depicts code coverage in real time. You can see at a glance how many tests cover each line of code and which lines are not covered by any unit tests.
If you have a solution that includes one or more unit test projects, you can enable Live Unit Testing by selecting Test > Live Unit Testing > Start from the top-level menu bar in Visual Studio.
Note
Live Unit Testing is only available in Visual Studio Enterprise edition and is supported only in .NET.
To learn more about Live Unit Testing:
Try an introductory tutorial: Get started with Live Unit Testing.
Read detailed documentation: Use Live Unit Testing with Visual Studio Enterprise Edition.
Read the Live Unit Testing FAQ to learn what's new in Live Unit Testing as well as tips and techniques.