in reply to Re^2: Running specific test cases with Test::Class
in thread Running specific test cases with Test::Class

How about this:
#!/usr/bin/perl use strict; use warnings; use Example::Test; $ENV{TEST_METHOD} = '/path/to//Example-Module1/t/t001'; Test::Class->runtests; $ENV{TEST_METHOD} = '/path/to/Example-Module2/t/t002'; Test::Class->runtests;

Replies are listed 'Best First'.
Re^4: Running specific test cases with Test::Class
by mkhan (Sexton) on Aug 16, 2011 at 21:21 UTC
    t001, t002 etc are not files.
    They are test cases/subroutines within the Module1.pm and Module2.pm.