Currently I can have some answers for my needs:
A specific test (ie. a test written by a method marked [TestMethod()]
)
Use MSTest.exe
/container:
TheAssemblyContainingYourSpecificTest /test:
TheSpecificTestName
All tests in a class
Use MSTest.exe
/container:
TheAssemblyContainingYourClass /test:
TheClassNameWithFullNamespace
Note that the /test:
is the filter which uses the full name of the class when filtering.
The others are still left unknown. Please disscuss if you know how.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…