NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
PerlUnit vs Test.pm/Test::More (Score:2)
Re:PerlUnit vs Test.pm/Test::More (Score:1)
PerlUnit is a port of Kent Beck's JUnit to Perl. JUnit and the like are very much tied to a strongly-OO approach of doing things. (I believe it grew out of Smalltalk.) They set up test harnesses with classes and all sorts of things that aren't necessarily Perlish, but really fit the Java model.
Test.pm is a somewhat-old Perl module. I think Larry originally wrote it. Test::More is an expanded and enhanced version of that with more features, more tests, better diagnostics, and a really spectacular back
Re:PerlUnit vs Test.pm/Test::More (Score:2)
IME, PerlUnit requires more work and planning for a task that most people never do and have little experience in. Test::More is so simple that there's no excuse not to write tests.
BTW: nice perl.com article on Test::MockObject!