RSS Git Download  Clone
Raw Blame History
package NGS::Test;
use base 'Import::Base';
 
# don't need to import IO::All - supplied through test-lib.pl

# to suppress warning: 
#	Name "Import::Base::IMPORT_MODULES" used only once: possible typo 
$Import::Base::IMPORT_BUNDLES if 0;
$Import::Base::IMPORT_MODULES if 0;

# Modules that are always imported
our @IMPORT_MODULES = (
    'HTTP::Request::Common',
	'Modern::Perl',
    'Plack::Test',
    # modules with params:
    NGS => [ with => { logger => 'console', log => 'error' } ],
	FindBin => [ qw($Bin) ],
    Test::More => [ import => ['!pass'] ],
);

# Named bundles to include
our %IMPORT_BUNDLES = (
    Debug => [ 'Data::Dumper', 'Data::Printer' ],
);

1;