Skip to content

Instantly share code, notes, and snippets.

@melo
Created October 28, 2011 14:49
Show Gist options
  • Save melo/1322454 to your computer and use it in GitHub Desktop.
Save melo/1322454 to your computer and use it in GitHub Desktop.
My tweaks to Test::More::subtest
sub tests {
my ($name, $subtests) = @_;
return if $ENV{SUBTEST_FOCUS} && $name !~ /$ENV{SUBTEST_FOCUS}/;
diag("Running '$name'");
return Test::More->builder->subtest(@_);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment