| Re: How can we write a good test case? A good test exercises a given feature (or a portion of a given feature) of a program, whether the input of the test is valid or invalid, in a way that provides assurance that feature is functioning as expected. In addition, a good test is documented (when not a one-time test), repeatable, and can be handed off to be tested by someone other than the author of the test.
__________________ Anand reddy Some Birds aren't meant to be caged. Their feathers are too bright… |