source: javauc archives
I’ll start with a confession: I’m a unit testing addict. In fact, I
just can’t write enough unit tests. If I’m developing for long stretches
of time without having written corresponding unit tests, I get
the jitters. Unit tests give me the confidence that my code works and
that I can change it, at a moment’s notice, without the fear of it
breaking.
Furthermore, as an addict, I tend to write a plethora of test cases. My high,
however, isn’t from writing the test cases; it’s in seeing
their results. Consequently, if I can write the tests in a rapid manner,
I can view their results quicker. That way I feel better. Quicker.
posted on 2010-05-14 21:55
sonicluo3 阅读(118)
评论(0) 编辑 收藏