Created
October 28, 2011 14:49
-
-
Save melo/1322454 to your computer and use it in GitHub Desktop.
My tweaks to Test::More::subtest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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