App-migrate
view release on metacpan or search on metacpan
t/example.t view on Meta::CPAN
use strict;
use POSIX qw(locale_h); BEGIN { setlocale(LC_MESSAGES,'en_US.UTF-8') } # avoid UTF-8 in $!
use Test::More;
use Test::Exception;
use Test::Output qw( :all );
use Path::Tiny qw( path tempdir tempfile );
use App::migrate;
plan skip_all => 'pgrep not installed' if !grep {-x "$_/pgrep"} split /:/, $ENV{PATH};
my $migrate = App::migrate->new;
t/load-err.t view on Meta::CPAN
use strict;
use POSIX qw(locale_h); BEGIN { setlocale(LC_MESSAGES,'en_US.UTF-8') } # avoid UTF-8 in $!
use Test::More;
use Test::Exception;
use Path::Tiny qw( path tempdir tempfile );
use App::migrate;
my $migrate = App::migrate->new;
my $file = tempfile('migrate.XXXXXX');
my $proj = tempdir('migrate.project.XXXXXX');
t/no-restore-optimization.t view on Meta::CPAN
use strict;
use POSIX qw(locale_h); BEGIN { setlocale(LC_MESSAGES,'en_US.UTF-8') } # avoid UTF-8 in $!
use Test::More;
use Test::Exception;
use Path::Tiny qw( path tempfile );
use App::migrate;
my @steps;
my @versions;
my $migrate = App::migrate->new;
$migrate->on(VERSION => sub { push @versions, $_[0]->{version} });
( run in 0.645 second using v1.01-cache-2.11-cpan-ceb78f64989 )