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

Hi All

As I wrote before, I'm in the process of choosing a unit test library for OO perl project (and, of course, I plan to use it in the future).

I started with Test::Unit and soon get in to a problem. If one assertion fails in the following set of calls (whitin a single 'test_xxx' procedure), the remainder of 'test_xxx' is not executed. I'm not familiar with xUnit testing, so I do not know if it is a problem at all. Most probably, it is not a problem, since other tests continue to execute, and there is no need to execute already failed test.

But I wonder where can I ask this type of questions? It looks like SourceForge community for Test::Unit is 'sleeping'... At the same time, does Test::Class have some kind of support except of the brilliant perlmonks site? :)

Thanks,
Dmitry.

  • Comment on Getting support on Test::Unit and Test::Class

Replies are listed 'Best First'.
Re: Getting support on Test::Unit and Test::Class
by adrianh (Chancellor) on Sep 14, 2003 at 13:13 UTC
    At the same time, does Test::Class have some kind of support except of the brilliant perlmonks site? :)

    Well since the author of Test::Class (me) reads perlmonks on a regular basis you're likely to get pretty good support here ;-)

    T::C is still under active development, and thanks to some excellent nagging I am finally getting around to popping a new release out of the door.

    If you have any questions ask 'em ;-)

Re: Getting support on Test::Unit and Test::Class
by dda (Friar) on Sep 14, 2003 at 10:18 UTC
    Small addition: I do not have any experience of xUnit testing, but other members of our team use xUnit derivatives (phpUnit, NUnit), and that is a ++ for using Test::Unit for perl testing. But if Test::Class is more mature and have better support, we will use it. That is why I'm asking. What can you monks say about your experience of using both modules? Any (serious) problems?

    Thanks,
    Dmitry.

      I'm obviously biased - but I use it all the time :-)

      The Bricolage people also use it as their testing framework - and I'd love to hear from anybody else using it.

      Somebody familiar with the xUnit frameworks should be able to pick it up very easily. There's a section in the documentation entitled Test::Class for JUnit users that should (hopefully) clear up any remaining confusion.