Re:Launch HN: Sweep (YC S23) – A bot to create simple PRs in...
by thomasrockhu on Thursday August 03, 2023 @03:57PM
(#36990947)
Tom from Codecov here. This is so true, 80% is usually a much more reasonable approach. It’s better to write good tests than all the tests.
(Shameless plug) I wrote a short post about this here: https://about.codecov.io/blog/the-case-against-100-code-cove...
Re:Launch HN: Sweep (YC S23) – A bot to create simple PRs in...
by williamzeng0 on Thursday August 03, 2023 @03:59PM
(#36990975)
I really liked the blogpost! We're hoping to change point 2 (Engineering Time is Finite) with Sweep, so hopefully we don't have to make a tradeoff between a high quantity/quality of tests.
To put it another way, code coverage isn't a direct measure of how good your testing is, but it is still a useful metric to try and improve.
In most cases 100% is too hardcore a target, but you should probably aim for at least 80%.