开发者

TeamCity + MSTest - Run only failed tests?

开发者 https://www.devze.com 2023-03-02 20:57 出处:网络
Is there a way to run only failed tests from a previous test run in TeamCity? Even better, is there a way to run only selected tests in some way?Like if we want to run only certain test classes.

Is there a way to run only failed tests from a previous test run in TeamCity?

Even better, is there a way to run only selected tests in some way? Like if we want to run only certain test classes.

Is there another mechanism we can accomplish this with? Maybe passing some kind of configuration file to MSTest on subsequent test run?

The reason I ask开发者_高级运维 this, is we have employees that do not use Visual Studio, but they still need to run certain tests to see what is failing.


You can group those tests in a category. http://msdn.microsoft.com/en-us/library/dd286683.aspx

Use the "Additional commandline parameters" in the MsTest Build Step to run only the test from your category.

0

精彩评论

暂无评论...
验证码 换一张
取 消