Acme-Resume

 view release on metacpan or  search on metacpan

t/00-report-prereqs.t  view on Meta::CPAN

}
else {
    $cpan_meta_error = $@;    # capture error from CPAN::Meta->load_file($source)
    $source = 'static metadata';
}

my @full_reports;
my @dep_errors;
my $req_hash = $HAS_CPAN_META ? $full_prereqs->as_string_hash : $full_prereqs;

# Add static includes into a fake section
for my $mod (@include) {
    $req_hash->{other}{modules}{$mod} = 0;
}

for my $phase ( qw(configure build test runtime develop other) ) {
    next unless $req_hash->{$phase};
    next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING});

    for my $type ( qw(requires recommends suggests conflicts modules) ) {
        next unless $req_hash->{$phase}{$type};

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

use lib 't/01/lib';

use Acme::Resume::For::Tester;

my $resume = Acme::Resume::For::Tester->new;

is $resume->name, 'The Tester', 'Correct name';
is $resume->email, 'the.tester@example.com', 'Correct email';
is $resume->get_address(-1), 'USA', 'Correct country';

is $resume->get_education(1)->school, 'Owen Patterson High', 'Correct school on second education';

is $resume->get_job(0)->started->year, '1988', 'Correct year on first job';

done_testing;



( run in 0.797 second using v1.01-cache-2.11-cpan-39bf76dae61 )