This is a migrated thread and some comments may be shown as answers.

Running test from test explorer vs execute test button

3 Answers 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
gnuftw
Top achievements
Rank 2
gnuftw asked on 26 May 2015, 04:38 PM

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

3 Answers, 1 is accepted

Sort by
0
Accepted
Cody
Telerik team
answered on 28 May 2015, 01:41 AM
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
 
0
gnuftw
Top achievements
Rank 2
answered on 28 May 2015, 02:30 PM

Thanks for the explanation Cody!

Peace

~ Max

0
Cody
Telerik team
answered on 29 May 2015, 01:03 AM
Hi,

Glad I could help.

Regards,
Cody
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
gnuftw
Top achievements
Rank 2
Answers by
Cody
Telerik team
gnuftw
Top achievements
Rank 2
Share this question
or