You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Startup/setup methods in base classes that are overridden by subclasses
are still called. For example:
package PigTest;
use base 'Test::Class';
sub startup : Test(startup)
{
$self->{fixture} = PigService->create($argz)
}
sub eats : Test { }
package PorkyPigTest;
use base 'PigTest';
sub startup : Test(startup)
{
$self->{fixture} = PorkyPigService->create($argz)
}
sub talks : Test { }
PigService will be called when running the PorkyPigTest.
Of course this is simple to fix, but it's surprising and unintuitive.
Startup/setup methods in base classes that are overridden by subclasses
are still called. For example:
PigService will be called when running the PorkyPigTest.
Of course this is simple to fix, but it's surprising and unintuitive.
Original: https://rt.cpan.org/Ticket/Display.html?id=72896
The text was updated successfully, but these errors were encountered: