TeamCity + MSTest - Run only failed tests?

2019-05-04 09:09发布

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.

1条回答
Root(大扎)
2楼-- · 2019-05-04 09:26

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.

查看更多
登录 后发表回答