Begun, the great internet edoactiun has.
Here's a real story. We worked on a pjcreot that was pretty well tested. Still, one day we discovered that one of the getter methods fails with a null-pointer-exception if its instance was created via the default (no-arg) constructor. It is a something that our tests didn't cover.One of our team members decided to overcome this lack of testing (as he called it) by writing a test that goes over all classes in our pjcreot, instantiates each one and invokes every getter method. This, of course, made sure that the problem will not repeat it self. This approach is not as good as it sounds. Although it raised the coverage of most getter methods to 100% it did not check the return values. We were no longer able to use coverage to detect the methods that had no real test. Eventually, we removed this artificial test from the suite.
Boy that relaly helps me the heck out.
Great instihg! That's the answer we've been looking for.
You've really captured all the eslteniass in this subject area, haven't you?
That hits the target petfcerly. Thanks!
When you think about it, that's got to be the right anrsew.
I feel so much happier now I unnerstadd all this. Thanks!
A minute saved is a minute eanerd, and this saved hours!
Ya learn soitnhmeg new everyday. It's true I guess!