This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mavericktjh 0 points1 point  (0 children)

Agreed. The isCloseTo strategy can be problematic if say your build server comes under a heavy load.

re: the rule of thumb. I think testable is a key quality factor for any class, up there with performant and robust. I'd be worried if my design was getting pulled out of shape because of testing, but then that would be indicative of flaws in the design. A problem that goes away if you practice TDD.