Live Unit Testing
Live Unit Testing has become a reality with the imminent release of Visual Studio 2017. The next iteration of Microsoft’s world-class IDE is due for release on the 7th of March 2017. Check out the video below how to enable live unit testing. It provides visual indicators inside your code editor on code coverage as well as the result of your tests.
As you change code, so the code editor updates in real time to update you on the status of your unit tests. Code without unit tests are marked with a blue stripe. Passing tests are indicated by a green check, while failing tests are indicated by a red cross.
The best thing of all is that it enables developers to seamlessly view the unit test results as they focus on important work. A lot of developers say that writing unit tests and continually re-evaluating those tests waste time. The non-intrusive nature of Live Unit Testing puts all that to an end.
Take note that Live Unit Testing is only available in Visual Studio 2017 Enterprise. Find out more about Visual Studio on the Visual Studio website. Developers can also download the free Community Edition. Compare the various Visual Studio editions to see which one suits you best.