Posts Tagged ‘unit test’

- Image by ecstaticist via Flickr
Some of you may remember my writing about how unit testing is anti-productive and those of you I have to disapoint, I still dont’ think it’s the best productivity tool out there.
BUT!
The past few days I had another go at unit testing while developing a “server” for gathering statistics on how people use Twitulater. This was mostly in preparation for making a “server” for syncing Twitulater users, more on that some other day, it was mostly a learning exercise.
What I learned was that:
- Unit testing is no guarantee for quality (con)
- Unit testing can be really cumbersome to use and more time can be spent finding a test than solving the problem. Like for example: How do you test an app that reads from sys.stdin? (con)
- Unit testing only helps with bugs you’ve anticipated or found
Tags: Programming, Software testing, Twitulater, unit test