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

Does anybody know where can I find tutorial or examples how to create and run tests using Test::Unit module? I have found a lot of links about QA in perl, but none of them contain step-by-step instructions of using Test::Unit, they describe Test::Simple and similar...

Thank you.

--dda

Replies are listed 'Best First'.
Re: Testing with Test::Unit
by perrin (Chancellor) on Sep 11, 2003 at 18:06 UTC
    The distribution does contain pretty solid docs and several examples. However, I think that the large number of examples out there for using Test::Simple and friends should tell you something: use Test::Simple unless you need more. I'm currently using Test::More and liking it.
Re: Testing with Test::Unit
by adrianh (Chancellor) on Sep 11, 2003 at 18:02 UTC
    Have you considered <cough bias="author"> Test::Class </cough> instead ;-)

        Partly because Test::Unit is a straightforward port of xUnit to Perl and partly because no one's yet recommended to add Test::Class and Test::More to the list. I've since corrected the latter and Ron has promised to update the list in the near future. :)