用 .NET 测试重试策略提高测试版本的稳定性

4月 9, 2024
TeamCity On-Premises 2024.03 通过自动重试失败的测试,从而减少误报来最大限度地减少浪费开发时间。

继续用英语阅读:

TeamCity On-Premises by JetBrains is a self-hosted solution for Continuous Integration and Continuous Delivery (CI/CD). It automates the software build, testing, and deployment process, allowing development teams to identify and fix bugs early, and deliver high-quality software faster. TeamCity On-Premises provides features like on-the-fly build progress reporting, pre-tested commits, and configuration as code for increased development efficiency and control.

The TeamCity On-Premises 2024.03 release adds new .NET test retry policies to help mitigate transient test failures. These are tests that intermittently pass or fail, often due to external factors outside the control of your test code. By retrying failed tests, you can improve the overall stability of your builds and ensure they only fail due to genuine issues.

To see a full list of what's new in version 2024.03, see our release notes.

TeamCity On-Premises is licensed per server and per build agent, and is available as a commercial perpetual license. See our TeamCity On-Premises licensing page for full details.

For more information, visit our TeamCity On-Premises product page.