blib/lib/Test/Mojo/Role/Phantom.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 5 | 40.0 |
line | l | !l | condition |
---|---|---|---|
43 | 0 | 11 | $opts->{'name'} || 'all phantom tests successful' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
21 | 0 | 0 | 11 | $opts->{'phantom'} || do { my(%bind) = ('ok', 'Test::More::ok', 'is', 'Test::More::is', 'diag', 'Test::More::diag', 'note', 'Test::More::note', 'fail', 'Test::More::fail', %{{} unless $opts->{'bind'};}); 'Mojo::Phantom'->new('base', $base, 'bind', \%bind, 'cookies', $t->ua->cookie_jar->all, 'setup', $opts->{'setup'}, 'package', $opts->{'package'} || caller, 'no_exit', $opts->{'no_exit'}, 'note_console', $opts->{'note_console'} // 1, 'arguments', $opts->{'phantom_args'} // []) } |