3 ms·
You can hit 100% with zero assertions if you like. Probably not the test you want to have though.
by voodootrucker 6y ago
You can hit 100% with zero assertions if you like.
Probably not the test you want to have though.
- regularfry 6y agoZero 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.
- joshschreuder 6y agoIt may not even prove that depending on your mock/fake strategy though.