New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added HOOKS on before/after calling use_ok method. #1

Closed
wants to merge 2 commits into
base: master
from
Jump to file or symbol
Failed to load files and symbols.
+34 −0
Diff settings

Always

Just for now

Viewing a subset of changes. View all
Prev

added tests

  • Loading branch information...
bayashi committed Dec 26, 2012
commit f434cf6531c772392c5069612f9819f1a3ce49b4
View
@@ -0,0 +1,17 @@
use strict;
use warnings;
use FindBin;
use File::Spec;
use lib File::Spec->catdir($FindBin::Bin, 'lib');
use Test::LoadAllModules;
use Test::More;
BEGIN {
all_uses_ok(
search_path => 'MyApp',
pre => sub {
ok 1;;
},
);
}
View
@@ -0,0 +1,17 @@
use strict;
use warnings;
use FindBin;
use File::Spec;
use lib File::Spec->catdir($FindBin::Bin, 'lib');
use Test::LoadAllModules;
use Test::More;
BEGIN {
all_uses_ok(
search_path => 'MyApp',
post => sub {
ok 1;
},
);
}
ProTip! Use n and p to navigate between commits in a pull request.