1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#============================================================= -*-perl-*-
#
# t/app/app.t
#
# Test the Badger::App module.
#
# Written by Andy Wardley <abw@wardley.org>
#
# This is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
#========================================================================
use lib qw( ./lib ../lib ../../lib );
use Badger::Test
tests => 2,
debug => 'Badger::App',
args => \@ARGV;
use Badger::App;
use constant APP => 'Badger::App';
pass( 'Loaded ' . APP );
my $app = APP->new;
ok( $app, 'created an app object' );
|