Skip to content
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

Implicit undeclared dependency on Dist::Zilla::Tester #3

Open
kentfredric opened this issue Apr 25, 2015 · 1 comment
Open

Implicit undeclared dependency on Dist::Zilla::Tester #3

kentfredric opened this issue Apr 25, 2015 · 1 comment

Comments

@kentfredric
Copy link

A number of tests in this distribution use this pattern:

use Test::DZil;

{
    $ENV{npm_config_root}   = dir('test_data', 'Bundle', 'npm')->absolute() . '';
    $ENV{ DZIL_RELEASING }  = 1;

    my $tzil = Dist::Zilla::Tester->from_config(
        { dist_root => 'test_data/Bundle' },
    );

The Dist::Zilla::Tester statement of which relies on the implicit loading of that module in Test::DZil.

Future Test::DZil may avoid loading this module until it is entirely necessary, leaving this code broken.

@canonic-epicure
Copy link
Owner

Thanks for pointing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants