"No tests to execute" from mstest

3 posts, 0 answers
  1. Iris
    Iris avatar
    4 posts
    Member since:
    Oct 2015

    Posted 23 Nov 2015 Link to this post

    I have a visual studio project that contains a test studio web test.  The test contains coded step.

    The project builds.  In Visual studio, I can run it either by

    1) highlighting the test file (.tstest), then click on the green play icon to execute the test

    2) Select visual studio Test menu, then run -> all test

    Either way the test runs and passes.

     

    However, when I try to run it from mstest using

    %mstest /testcontainer:fullpath\TestStudioProject1.dll

     

    I get "No test to execute".

     

    What am I missing in the project?

  2. Iris
    Iris avatar
    4 posts
    Member since:
    Oct 2015

    Posted 23 Nov 2015 Link to this post

    Well, this command got me further -

    %%mstest /testcontainer:fullpath\WebTest1.tstest

    mstest can find the test, but fails to get the file for deployment item 'bin\TestStudioProject1.dll' specified by the test.

    How can I specify that I need the dll deployed?

  3. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 25 Nov 2015 Link to this post

    Hello Iris,

    See if this KB article helps, starting with step 7. Make sure that you first navigate to the project's directory.

    Let me know if you need further assistance.

    Regards,
    Cody
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top