AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Set Test Coverage Percentages
I do not have a problem with having a target Percentage of code covered by test. A hundred percent coverage doesn't mean that you thought about all the cases right to use of that code It's just you touched it and I exercised it once Right? The part that bugs me more is like when you have things like poujos or or Poucos and C sharp or whatever Like those are not classes you need to test their data movers You've put a value in them and you move them And if you're writing unit tests that That check to make sure that you didn't pass a string for a number. It's like Is that a useful test? I don't think it