[Chicago-talk] perl tests with overhead
ehs at pobox.com
Tue Jul 26 20:09:05 PDT 2005
> Anybody else got any tips before I get too far?
One thing I really like about xUnit  style tests is the ability to
define a setUp() method that creates an environment for each test to
take place in. In addition your test classes can use inheritance: so
you could define a top level SessionTest for your other test classes
to inherit from. It's unfortunate that Test::Unit appears to have a
bad rating on CPAN due to installation problems.
Thanks to brian's blog I read an interview w/ Ian Longworth  who
wrote a new book "Perl Testing a Developer's Notebook". Perhaps there
are some hints in there about doing this sort of thing? He mentions a
new module called Test::Base which provides a new testing idiom that
might be worth taking a look at.
More information about the Chicago-talk