VS2017 Test Explorer not discovering tests

6 posts, 0 answers
  1. Jon
    Jon avatar
    11 posts
    Member since:
    Nov 2015

    Posted 06 Jul 2017 Link to this post

    Hello,

    I recently posted about problems with installing the Test Studio plugin for VS2017. I have successfully installed the plugin now and most everything seems to be working. Except one thing.

     

    I no longer have tests in my test explorer. With the test explorer, I was able to debug my tests by setting breakpoints in my coded steps and stepping through them. This was an extremely useful feature I use extensively.

     

    I have reinstalled the plugin, cleared my VS cache folders and my Temp folder, installed a couple unit test runners but nothing is getting the tests to show up in the Test Explorer.

     

    Any ideas on why the tests won't show up?

     

    Thanks,

    Jon

  2. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    942 posts

    Posted 11 Jul 2017 Link to this post

    Hi Jon,

    Thanks for contacting us. 

    Please double check which are the Telerik extensions installed in VS 2017 from Tools -> Extensions and Updates.... (please refer to the screenshot as well). The highlighted one - TestAdapter - is the corresponding one which lack could lead to the described behavior. 

    In case not all extensions are installed please remove Test Studio from Control Panel and perform a fresh install again. 

    Please keep me posted in case anything goes wrong. Thank you for your cooperation! 

    Regards,
    Elena Tsvetkova
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Jon
    Jon avatar
    11 posts
    Member since:
    Nov 2015

    Posted 11 Jul 2017 in reply to Elena Tsvetkova Link to this post

    Elena,

    I have confirmed that the TestAdapter Extension is installed. I have just attempted uninstalling and reinstalling via the .msi installer and confirmed again that is being installed correctly. This does not seem to be the issue.

    Thanks,

    Jon

  4. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    942 posts

    Posted 14 Jul 2017 Link to this post

    Hello Jon,

    Thanks for your continuous cooperation. 

    Could you please double check if the Telerik.TestStudio.VSExtension.TestAdapter.dll could be found in C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions. It should be there actually. 

    Then start please the VS2017 console and pass the following command: 
    vstest.console.exe /ListDiscoverers /UseVsixExtensions:true

    along with: 
    Telerik.TestStudio.TestAdapter.TestDiscoverer
    Default Executor Uri: executor://telerikteststudiotestadapter/v1
    Supported File Types: .tstest, .aii

    Please let me know if this will allow you see the tests in the test explorer. Thanks! 

    Regards,
    Elena Tsvetkova
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  5. Jon
    Jon avatar
    11 posts
    Member since:
    Nov 2015

    Posted 02 Aug 2017 in reply to Elena Tsvetkova Link to this post

    Elena, 

    Sorry for the late reply.Unfortunately that did not work. I saw the output in the console as you posted above, but after running the command and restarting, I still cannot see tests in the test explorer. Any other ideas?

     

    Jon

  6. Ivaylo
    Admin
    Ivaylo avatar
    778 posts

    Posted 07 Aug 2017 Link to this post

    Hello Jon,

    Let me interject into this ticket as Elena is out of the office.
    Could you please let me know whether you build the project after opening in VS 2017? Sorry I am asking this question but it is not clear from the previous conversation.

    Also is it possible to provide us with the project so we can open it on VS2017 and take a look?

    Regards,
    Ivaylo
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top