Update: Now I see what you are getting at. The bad news: I do not use MSTest or MSTest to find out ...
In NUnit you can
>"nunit-console.exe" API_Tests.dll /out:My.log /labels
This displays the following log file
***** Test.Gumba.API_Tests.Tests.ArithmeticProgression.DummyTest2 Woohoo! made it till test2 ***** Test.Gumba.API_Tests.Tests.ArithmeticProgression.GeneratesTheRightProgressionAsSpecifiedByTheUser Try#0 failed. due to 0. Retrying NUnit.Framework.AssertionException: Expected is <System.Int32[10]>, actual is <System.Int32[0]> <snipped>...
I was looking at command line switches for MSTest , and the following looks interesting
mstest /testcontainer:Some.dll /detail:testname
--------------- previous answer follows -----
To answer your question, the Run method can be executed using the method that the delegate accepts. However, if you could clarify why you need it, perhaps there is a better solution to achieve what you after
eg.
private void LogAround(Action action) {
and the challenges will be
Do( delegate { // test code });
Gishu
source share