Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 :-)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2023-03-26 00:04 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.