Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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
Replies are listed 'Best First'.
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 chilling in the Monastery: (20)
As of 2015-07-28 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (256 votes), past polls