Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python Testing Covering Your Bases Using Coverage

Ollie Webster
Ollie Webster
5,035 Points

"Aim for 100%, or better."

Can you really get more than 100% coverage or is this a Kennethism?

1 Answer

Steven Parker
Steven Parker
231,184 Points

Kenneth was known for injecting humor in his presentations, and it's too bad you can't see his face as he says that.

But the more practical advice is what he says at about 4:25 in the video: "Generally, you want to aim for about 90% or better".

Ollie Webster
Ollie Webster
5,035 Points

Ah, I just rechecked at at 4:56 he says: "It's never a bad thing, though, to hit 100% or better"

Steven Parker
Steven Parker
231,184 Points

Yes, I found where he says "100%" near the end, and revised my answer accordingly.