http://qs321.pair.com?node_id=343700


in reply to Testaholics Anonymous (or how I learned to stop worrying and love Test::More)

I think the only danger of adding too many tests is that the test suite will take too long to run, and so will be run less often or slow down development. A big part of the point of automated testing is that the tests are run frequently so bugs are found quickly, before too many changes have been made and while the code that introduced the bug is still fresh in your mind. If the test suite takes more than a few minutes to run, it defeats the point of this.

  • Comment on Re: Testaholics Anonymous (or how I learned to stop worrying and love Test::More)

Replies are listed 'Best First'.
Re: Re: Testaholics Anonymous (or how I learned to stop worrying and love Test::More)
by stvn (Monsignor) on Apr 08, 2004 at 19:30 UTC

    I agree, I have actually removed much of the redundant tests I spoke of, and am considering moving to cpan:://Test::Class instead anyway. Although, I have found while developing another suite for another application, that using the prove utility that comes with Test::Harness comes in handy, I can easily run a specific set of tests or a single test and therefore reduce testing time during development. Then of course when I feel I need to I can run the whole suite. So far it has worked well for me.

    -stvn