in reply to Re: Re: Automatic generation of tests
in thread Automatic generation of tests
Once you start scrolling through hundreds of lines of code, it's hard to visualize your API use cleanly because you start to confuse the API with the implementation. Again, I don't do this nearly enough, but it has great merits and this is something I *should* do for larger projects.
By all means, tests should evolve while the program is written -- however boundary coverage should be one of the first kinds of things you think about when testing your API. That is what automated testing is for. If your API passes all tests, and the whole of your API is tested, you won't have any issues with coverage...harder said than done.
Naturally, testing code by hand is critical in validing that the tests themselves are valid.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Automatic generation of tests
by adrianh (Chancellor) on Feb 23, 2004 at 17:21 UTC | |
|
Re: Re: Re: Re: Automatic generation of tests
by Anonymous Monk on Feb 23, 2004 at 19:10 UTC | |
by adrianh (Chancellor) on Mar 05, 2004 at 15:58 UTC | |
by Anonymous Monk on Mar 09, 2004 at 06:43 UTC | |
by adrianh (Chancellor) on Mar 09, 2004 at 11:00 UTC |