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

  • At Ubicloud, we have 100% line and branch coverage that is mandated on every PR (https://github.com/ubicloud/ubicloud). 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.

  • I think this is a false dilemma. If your tests can be parallelized then adding more doesn't necessarily result in longer deployments.