Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

What are some good testing references?

( #374813=categorized question: print w/ replies, xml ) Need Help??
Contributed by trammell on Jul 15, 2004 at 20:17 UTC
Q&A  > testing


Description:

What are some good links to Perl-specific testing documents? How about books or other offline documents? Why do you think these references are useful?

Answer: What are some good testing references?
contributed by trammell

The standard Test::Tutorial is a must-read.

The POD in Test::Simple and Test::More is well-written.

And the following perl.com articles by chromatic are excellent: Testing, Test::MockObject

Answer: What are some good testing references?
contributed by pernod

In addition to trammell's suggestions above, for specification-based testing, tmoertel's Test::LectroTest is an excellent tool.

Test::LectroTest allows you to autmatically generate data-sets that tests larger areas of the problem space with ease. Read the module author's tutorial on the subject for a nice primer.

Answer: What are some good testing references?
contributed by tirwhan

For books, see

Also be sure to check out http://qa.perl.org/
Answer: What are some good testing references?
contributed by clp

Effective Perl Programming, 2d ed ISBN 9780321496942, published in 2010, has a chapter on testing. It is not a tutorial on basic test techniques. It includes several multi-page examples; and covers topics such as mock objects, test-driven development, and a continuous build system.

Perl Medic, Transforming Legacy Code ISBN 9780201795264 from 2004, also has a chapter on testing. It provides short introductions to several Test:: modules; and a detailed description of how to build real test code with a well-written 15-page example.

Please (register and) log in if you wish to add an answer



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others exploiting the Monastery: (11)
    As of 2014-12-26 02:01 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (164 votes), past polls