Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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]
[hippo]: They had purchased some shiny new 486 DXs the year before but crippled them by installing Win 3.1. I demo'd Linux with X on them to the department head and got the go-ahead to wipe Windows and install the new hotness.
[marto]: glory days ;)
[hippo]: Too true :)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2018-06-22 09:54 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (124 votes). Check out past polls.