metaperl has asked for the wisdom of the Perl Monks concerning the following question:

I need to upgrade the test suite for HTML::Seamstress to something modern, robust, trendy, popular and effective...

In other words, I need the Moose of Perl testing.

What is the hot package for testing my CPAN distro? What books should I buy?

Replies are listed 'Best First'.
Re: favorite approach to perl testing?
by duckyd (Hermit) on Jan 07, 2009 at 18:41 UTC
    I've found Test::Class to be a wonderful step forward from plain old Test::More .t style testing.
Re: favorite approach to perl testing?
by Old_Gray_Bear (Bishop) on Jan 07, 2009 at 19:25 UTC
    Get Perl Testing: A Developer's Notebook, it will give you lots of ideas about making your test-harness work.

    Personally, I have been very satisfied in the past with Test::More and friends. Recently I have been exploring the xUnit test frameworks, since I have Java friends who swear by jUnit.

    Before you jump off the deep-end, get some more exposure to what is currently out there. And remember the Second Rule of Systems Programming: "Don't fix it unless it's really broken".

    ----
    I Go Back to Sleep, Now.

    OGB

Re: favorite approach to perl testing?
by moritz (Cardinal) on Jan 07, 2009 at 18:21 UTC
    Maybe you should first tell us why you want to update the current test suite. Is it too repetitive? Or too unstructured? does it lack some features? If so, which?
Re: favorite approach to perl testing?
by hexcoder (Curate) on Jan 07, 2009 at 19:04 UTC
    The book to buy IMNSHO is 'Perl Testing' ISBN 0596100922, which is well written and very useful for general purpose testing. It only lacks treatment of the Test::LectroTest package, which is great for automatic test cases with rule-based generated input data.