After running the unit test class, Is it highlight the lines in the code which is failed/passed?
Posted Jan 5, 2016
Thank you for contacting us with your question.
Yes, TWS supports Code Coverage in the code according to running the unit tests.
You can set it up the next way:
- Main Menu -> View -> Code coverage;
- set up the opened panel to the place you want in the TWS GUI;
- after running the unit test classes click 'Refresh' on the 'Code coverage' panel;
- enable 'Show coloring' in the 'Code coverage' panel.
After all these actions you will see the highlighted code coverage in your code.
Additionally you can change the colors for this highlighting: Tools -> Options -> Fonts and Colors, in the 'Display items' panel find 'Code coverage - covered line' or 'Code coverage - uncovered line' and select a color for it in the right part of the Options panel.
If you have more questions, fill free to ask us - we will be glad to answer them.
The Welkin Suite