Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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
Node Status?
node history
Node Type: note [id://262319]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2018-07-22 02:39 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (451 votes). Check out past polls.