The Welkin Suite Forum

Test Classes Code Highlight



Test Classes Code Highlight

  • Please log in to reply

#1

Mani

    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

    #2

    kate.dulko

      Posted 05 Jan 2016

      Hi.


      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.


      Regards,

      Kate


      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina
      e-mail: kate.dulko@welkinsuite.com

       

        





      Boost Your Productivity. Get Started Today

      Try Free Trial