The Welkin Suite Forum

Test Classes Code Highlight

Test Classes Code Highlight

  • Please log in to reply



    Posted 05 Jan 2016

    After running the unit test class, Is it highlight the lines in the code which is failed/passed?

    1 replies to this topic



      Posted 05 Jan 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.



      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina



      Boost Your Productivity. Get Started Today

      Try Free Trial