« Return to Thread: 100%% Method Testing and Generating Unit Tests

Re: 100%% Method Testing and Generating Unit Tests

by Cédric Beust ♔ :: Rate this Message:

Reply to Author | View in Thread

On 1/2/07, Ole Ersoy <ole_ersoy@...> wrote:
>
>
> > * Getting to 100% tested takes less time if we
> > generate tests from a
> > model than if we write them by hand.
>
>
> Sure - getting methods that are 100% tested should
> take 0 time (For the person doing the coding).


That's a very deceptive statement.

Not only is it very hard to reach 100% testing (just because your code
coverage claims 100% doesn't mean you are covering 100% of your code), but
it's actually harmful to try to reach this goal.  There is a point of
diminishing return where you are better off improving your application that
shooting for this elusive 100% testing.

--
Cédric
http://testng.org


[Non-text portions of this message have been removed]

 « Return to Thread: 100%% Method Testing and Generating Unit Tests