App-CSE

 view release on metacpan or  search on metacpan

t/01-help.t  view on Meta::CPAN

#! perl -T
use Test::More;

use App::CSE;

my $cse = App::CSE->new();

{
  local @ARGV = ( 'help' , '--verbose' );
  ok( $cse->version() , "Ok got a version");
  ok( $cse->command()->isa('App::CSE::Command::Help') , "Ok good command instance");
  ok( $cse->main() , "Ok can execute the magic command");
  ok( $cse->options()->{verbose} , "Ok verbose is set");
}

ok(1);
done_testing();

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

( run in 1.287 second using v1.00-cache-2.02-grep-82fe00e-cpan-d29e8ade9f55 )