Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Perl Testing and Quality Assurance

by adrianh (Chancellor)
on Jun 02, 2003 at 06:55 UTC ( #262319=note: print w/ replies, xml ) Need Help??


in reply to Perl Testing and Quality Assurance

My advice would be to use the Test::Builder based options.

Start with Test::Simple and Test::More. Test::Tutorial provides an introduction to these.

After that take a look at some of the more specific testing modules like Test::Data, Test::HTML::Content, Test::Pod, Test::Warn, Test::Exception, etc.

If you want a more xUnit type of testing framework take a look at Test::Class (note: I'm biased since I wrote that one).

All of the above, and many more, are build on top of Test::Builder and all play together well. Kudos to schwern and chromatic for a great library.

In the perlmonk land you may find the following of interest:

As a bit of more general advice try switching to doing Test Driven Development. It feels odd at first but does wonders for code quality once you get used to it (IMHO anyway :-)


Comment on Re: Perl Testing and Quality Assurance

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-11-28 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls