6min chapter

Coding Blocks cover image

Supporting Your Code, README vs Wiki and Test Coverage

Coding Blocks

CHAPTER

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

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode