Running test from test explorer vs execute test button

4 posts, 1 answers
  1. gnuftw
    gnuftw avatar
    24 posts
    Member since:
    May 2015

    Posted 26 May 2015 Link to this post

    I am curious if there is a difference between running a test by right-clicking it in the Test Explorer and selecting Run Selected Tests (1) or executing a test by selecting the Execute Test button (2)?

     ~ Max

  2. Answer
    Cody
    Admin
    Cody avatar
    3360 posts

    Posted 27 May 2015 Link to this post

    Hi Max,

    The difference is very subtle. Both methods run the test and at the very core Test Studio code is called to run each step of the test. The differences are:
    • Clicking Execute at the top of the test steps causes the test to be run via our own ArtOfTest.Runner utility and present results directly in the test steps UI.
    • Clicking Run Selected Tests runs the test via Microsoft's MSTest utility (which in turn calls our DLL's to execute the test steps) and produces a Microsoft formatted .trx file with the results. This is also the method with which you can do true source code debugging of your coded steps.

    That's about it.


    Regards,
    Cody
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. gnuftw
    gnuftw avatar
    24 posts
    Member since:
    May 2015

    Posted 28 May 2015 in reply to Cody Link to this post

    Thanks for the explanation Cody!

    Peace

    ~ Max

  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 28 May 2015 Link to this post

    Hi,

    Glad I could help.

    Regards,
    Cody
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!