News for hackers. Stuff that matters.
Re:The Myth of Code Coverage by voodootrucker on Saturday December 05, 2020 @12:18AM (#25311994)
You can hit 100% with zero assertions if you like.

Probably not the test you want to have though.

Re:The Myth of Code Coverage by regularfry on Saturday December 05, 2020 @01:02AM (#25312194)
Zero assertions means that you know there aren't any lurking exceptions triggered by just running the code. That's a good thing to know, but I'd hope like hell that it's not the only thing you want to know.
Re:The Myth of Code Coverage by joshschreuder on Saturday December 05, 2020 @01:35AM (#25312348)
It may not even prove that depending on your mock/fake strategy though.