Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: How Many Modules Is Too Many?

by adrianh (Chancellor)
on May 31, 2004 at 22:05 UTC ( [id://357853]=note: print w/replies, xml ) Need Help??


in reply to Re: Re^2: How Many Modules Is Too Many?
in thread How Many Modules Is Too Many?

Each .t does specific setup and teardown, and many use END {} blocks to do useful things like destroy temporary database objects that were inserted for purposes of testing, and which shouldn't be there by the time the next bunch of tests runs.

Doing this sort of thing for large test suites ended up with me writing Test::Class. It may or may not prove useful to you :-)

Combining these tests would be possible, but only at the expense of a lot of work. We're getting more mileage by attacking bloat first.

Whatever works. Refactoring a large test suite can certainly be a huge job (having had to do it a few times in the past).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-03-19 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found