| 1 |
use Test2::V0; |
| 2 |
use Test2::Plugin::Cover; |
| 3 |
use Path::Tiny; |
| 4 |
|
| 5 |
use Test2::Harness::Util::JSON qw/encode_json/; |
| 6 |
|
| 7 |
STDIN->blocking(0); |
| 8 |
|
| 9 |
Test2::Plugin::Cover->set_root(path('t/integration/coverage/lib')->realpath); |
| 10 |
|
| 11 |
print "INPUT ${ \__FILE__ }: " . encode_json({ |
| 12 |
env => {map { ($_ => $ENV{$_}) } grep { m/^COVER_TEST_/ } keys %ENV}, |
| 13 |
argv => [@ARGV], |
| 14 |
stdin => join('' => <STDIN>), |
| 15 |
}) . "\n"; |
| 16 |
|
| 17 |
|
| 18 |
open(my $fh, '<', "t/integration/coverage/lib/Bx.pm"); |
| 19 |
|
| 20 |
ok(1); |
| 21 |
|
| 22 |
done_testing; |