(setup => +1) syntax solves everything quite nicely. Thanks!
As for the second thing, if a parent and derived class both have setup methods but the parent setup methods are not overridden in the child, the calling order should be parent methods first, not alphabetical first. Otherwise, when a subclasses' setup method just happens to have a test name that's alphabetically prior to parent classes' setup method names, the setup methods may very well get called in an inappropriate order.
Cheers,
Ovid
New address of my CGI Course.
In reply to Re^2: Test::Class and setup methods
by Ovid
in thread Test::Class and setup methods
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |