Skip to content.

plope

Personal tools
You are here: Home » Members » chrism's Home » Writing Bad Unit Tests » doctests
 
 

Comment

Above in this comment thread: Writing Bad Unit Tests » ZTC/PTC are integration tests with a naming problem ;) » argh...

doctests

Posted by philikon at 2008-05-29 04:34 AM
Amen, brother. I used to write tests like that, too. But what's helped me *focus* on writing tests for the stuff I actually implement as well as documenting my intent are doctests. I know you hate 'em (and I partially agree with some of your criticism), but in the end they do help with those two issues.