TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How does your company balance test coverage and deploy speed?

1 点作者 jlos超过 1 年前
On one side good test coverage on PR&#x27;s going into master and again when master goes live helps reduce incidents. But with enough tests, they become a bottle neck for releasing quickly.<p>So just curious what strategies you&#x27;ve seen in the wild for balancing test coverage* and deploy speed?<p>* By test coverage here, I mean how often to run the tests you have, not avoiding writing the tests in the first place.

2 条评论

furkansahin超过 1 年前
At Ubicloud, we have 100% line and branch coverage that is mandated on every PR (<a href="https:&#x2F;&#x2F;github.com&#x2F;ubicloud&#x2F;ubicloud">https:&#x2F;&#x2F;github.com&#x2F;ubicloud&#x2F;ubicloud</a>). We also have an E2E test suite that we run periodically and with every commit. We did not really feel like our tests are slowing us down, it actually makes us faster since we have a higher trust to the payload and many manual checks that would need to be done is safely skipped.
rewmie超过 1 年前
I think this is a false dilemma. If your tests can be parallelized then adding more doesn&#x27;t necessarily result in longer deployments.