App-PhotoDB
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
t/04-functional.t view on Meta::CPAN
use Test::Expect;
use Test::More;
# Skip these tests if we are not running under Travis
if ($ENV{'TRAVIS'} eq 'true') {
plan tests => 5;
} else {
plan skip_all => 'These tests require Travis CI';
}
# Local test database credentials
my $host = 'localhost';
my $schema = 'photodb';
my $user = 'photodb';
my $pass = 'photodb';
# Start up PhotoDB, connected to local db
expect_run(
command => ["bin/photodb -h $host -s $schema -u $user -p $pass --skipmigrations"],
prompt => ['photodb> ', -re => '^.+: '],
quit => 'exit',
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.019 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )