Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by sgifford (Prior)
on Apr 08, 2004 at 18:56 UTC ( [id://343700]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://343700]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2024-04-23 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found