Re: Changing the way tests are run
David Golden <[email protected]> Thu, 18 Feb 2010 11:42:52 -0500
| Newsgroups | gmane.comp.lang.perl.modules.module-build |
|---|---|
| Message-ID | <[email protected]> |
2010/2/18 Alberto Simões <[email protected]>: > So, if I change this variable when calling Test::Harness everything > should work fine. > > Is there any easy way to force this under M::B? Subclass and override ACTION_test sub ACTION_test { my $self = shift; # do %ENV manipulation $self->SUPER::ACTION_test } In general, most custom things you might want to do should get done in a subclass that override ACTION_* steps. -- David