Unit test results and coverage visualizations appear on a line-by-line basis in the code editor. Once enabled, Live Unit Testing helps you quickly see whether the code you’re writing is covered and if the tests that cover it are passing without leaving the editor. View coverage information in the editor as you type Restart is the equivalent to selecting Stop and immediately selecting Start to start Live Unit Testing again.This is because it loses all data when it is stopped. When Live Unit Testing is started after it had been stopped, it takes longer to show the glyphs than when it was paused and resumed. Stop to completely stop Live Unit Testing.
Live Unit Testing will do the necessary work to catch up with all the edits that have been made while it was paused and will update the glyphs appropriately. When you are ready to resume, select Continue from the Live Unit Testing menu. When Live Unit Testing is paused, you do not see any coverage visualization in the editor, but all the data that is collected so far is preserved. It is as simple as opening the Test menu, selecting Live Unit Testing, and choosing one of the following options: To enable Live Unit Testing, go to the Test command of the top-level menu bar, choose “Live Unit Testing”, then “Start”:Īt any time, you can temporarily pause or completely stop Live Unit Testing for example, when you are in the middle of a refactoring, and you know that your tests will be broken for a while.