mkhan has asked for the wisdom of the Perl Monks concerning the following question:
The problem with the above code is that it runs t001 from Module1 correctly but it runs t001 AND t002 both from Module2. I just want it to run t002 from module2. I don't know why it is running the t001 from Module2, seems it's persisting with the first pattern match with the second module as well.use Example::Module1; $ENV{TEST_METHOD} = '.*t001.*'; Test::Class->runtests; use Example::Module2; $ENV{TEST_METHOD} = '.*t002.*'; Test::Class->runtests;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Running specific test cases with Test::Class
by Khen1950fx (Canon) on Aug 16, 2011 at 08:59 UTC | |
by mkhan (Sexton) on Aug 16, 2011 at 18:01 UTC | |
by Khen1950fx (Canon) on Aug 16, 2011 at 21:15 UTC | |
by mkhan (Sexton) on Aug 16, 2011 at 21:21 UTC |