t/integration/coverage/x.tx
raw| 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 | require Bx; |
| 18 | |
| 19 | ok(1); |
| 20 | |
| 21 | done_testing; |