The Welkin Suite Forum

Unit tests execution too slow



Unit tests execution too slow

  • Please log in to reply

#1

tomic.84

    Posted 06 Jul 2016

    When I execute a unit test in TWS it displayes the results aroung 10-20 seconds after it appears in the developer console. Both should use the same API, right?


    Steps to reproduce:

    1. Pick one test in TWS

    2. Open developer console

    3. Run the test in TWS

    4. Both, TWS and Developer Console show immediately in progress symbols

    5. After couple of seconds Developer Console shows results

    6. TWS shows results after 10-20 seconds



    3 replies to this topic

    #2

    kate.dulko

      Posted 07 Jul 2016

      Hi Tomic,


      Thank you for your question.


      The tests are run on Salesforce, and The Welkin Suite sends queries for the test results every 20 seconds.

      This is why the test results may appear in the IDE little bit later.


      Regards,

      Kate


      Kate Dulko
      Customer Relations

      The Welkin Suite

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

       

        


      #3

      tomic.84

        Posted 08 Jul 2016

        20 seconds sounds a bit too long. Are there any plans to make it shorter?



        #4

        kate.dulko

          Posted 08 Jul 2016

          Hi Tomic,


          These queries have the 20-second interval due to Salesforce operations limitations.

          If the IDE asks for the Test Results more often, then queries will be queued and block other operations.


          If you have more questions, please write us. we will 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