The Welkin Suite Forum

Test Method not found



Test Method not found

  • Please log in to reply

#1
windows version welkinsuite

ilanl

    Posted 10 Jul 2018 and edited 10 Jul 2018

    Hi,

    I want to launch a particular test method, but I'm not seeing it in the list of test methods to run. I did refresh (in the test methods menu), but it didn't help.


    Regards



    1 replies to this topic

    #2

    kate.dulko

      Posted 10 Jul 2018

      Hi Ilan,


      Thank you for your bug report.


      I kindly ask you to create a new TWS project related to the same organization, and please check if you can find the necessary test method in the 'Run Tests' wizard right after the project creation.

      If the test method is present there, please click the 'Refresh' and check if this test method would be available for your after this.

      In the case, when the test method is absent, please follow the next steps:

      1. please execute the following query in the Developer Console on your organization (please also check the “Use Tooling API” there):
        select Id, Name, NamespacePrefix, SymbolTable from ApexClass;
      2. check if you can see the SymbolTable data for the test that is not available in the list;
      3. if there’s no information for them – you can try executing the “Compile All Classes” action in the org (Setup -> Apex Classes), so Salesforce will refresh the data.

      Please let me know if this would help and if you can see the test method after refreshing the list of tests in the Run Tests wizard.


      In general, the IDE get the information about tests and test methods from your organization in 2 stages:

      1. First of all, when you create a new project, TWS parser analyzes your files and gets all the tests from your current project that are local ones.
      2. When you refresh the list of tests or re-open a project, we send a request to a related organization and this way the IDE gets a list directly from your org.

      I hope this would help and I'm looking forward to your response.


      Thank you,

      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