79205374

Date: 2024-11-19 23:44:06
Score: 1
Natty:
Report link

Here's one way of doing it using an environment variable. It's not elegant - but it works. Near the top of your subtest - consider:

subtest test_someTestFunction => sub {
   my $testName = "test_someTestFunction";
   plan skip_all => 'FILTER' if( $ENV{TESTFILTER} && ($testName !~ /$ENV{TESTFILTER}/);

   # Remainder of your test code
};
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Gack