you are viewing a single comment's thread
view the rest of the comments
[–] 27 points 3 years ago* (1 child)

One rule of thumb I've heard and follow is that every time you encounter a bug, you write a unit test that would catch it. I find that does a pretty good job of getting high code coverage, though maybe that's cause my code is naturally buggy 😅.

  • source
  • hideshow 1 child comment