CPAN

 view release on metacpan or  search on metacpan

t/97-process_setup_options.t  view on Meta::CPAN

#!/usr/bin/perl

use Test::More 'no_plan';

my $class  = 'App::Cpan';
my $method = '_process_options';

use_ok( $class );
can_ok( $class, $method );

{
require "./t/97-lib_cpan1/CPAN.pm";

ok( defined &CPAN::shell, "Mock CPAN shell is defined" );
is( CPAN::shell(), 1, "Mock shell returns 1" );

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Test with no options
{
local @ARGV = ();

# not yet tested
}

}

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.488 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )