Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Organizing Module Tests Sensibly

by mvc (Scribe)
on Jun 27, 2004 at 22:20 UTC ( #370055=note: print w/ replies, xml ) Need Help??


in reply to Organizing Module Tests Sensibly

Give Test::Class a try. It has almost all of the Test::Unit features, yet allows you to use Test::More style assertions.

With a decent runner and a way to organize your cases, it is almost perfect. Check how it was done in the latest Aspect version for an example. Basically you arrange your tests in a tree, exactly like your code.

The main thing that Test::Class needs is a better runner. Something with a nice UI, more information (like what method am I testing in what class), and ability to run/rerun individual test methods.


Comment on Re: Organizing Module Tests Sensibly
Re^2: Organizing Module Tests Sensibly
by adrianh (Chancellor) on Jul 26, 2005 at 17:27 UTC
    The main thing that Test::Class needs is a better runner. Something with a nice UI, more information (like what method am I testing in what class), and ability to run/rerun individual test methods.

    Most of this is on the to do list. Quite when it will get done is another matter :-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-12-26 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls