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.
Test::Unit is dead. Long live the Test::Unit::Lite (Score:1)
Re: (Score:2)
Test::Class is the way to go here. It also integrates with all of the standard Perl testing libraries. It doesn't look like Test::Unit::Lite does that.
Re: (Score:1)
Re:Test::Unit is dead. Long live the Test::Unit::L (Score:1)
How does modeling
assertEqualsas a static method show evidence of good design?Reply to This
Parent
Re: (Score:2)
Oh, it doesn't :) It's also worth noting that Test::Unit::Lite provides virtually no diagnostic information and forces the programmer to type a heck of a lot more boilerplate with absolutely no benefit whatsoever. And we won't even talk about how incredibly primitive (read: near useless) the assertions are.
At least with the static methods in jUnit, you don't have to type a bunch of useless $self-> statements or their equivalent (but it also means that there's no real way to track state).