如何让 TeamCity 显示忽略测试的数量?

How to get TeamCity to show # of ignored tests?

我在 TeamCity 上使用 MSBuild 构建了一个 .NET 4.5 解决方案。 MSTest 运行 使用捆绑的 dotCover 进行单元测试,用于代码覆盖。构建有效,单元测试 运行,我的代码覆盖率很好,但它只显示失败测试的数量和通过测试的数量。

如何让它显示被忽略测试的数量?

Adding an Ignore attribute or disabling test through UI removes test from the run by MSTest, i.e. no record of this test is reported in Results section of corresponding trx report. Since TeamCity MSTest processor deals only with Results section of trx file, it doesn't know that any test was disabled.

have a look