1use Test2::Bundle::Extended -target => 'Test2::Require::ExtendedTesting'; 2 3{ 4 local %ENV = %ENV; 5 $ENV{EXTENDED_TESTING} = 0; 6 is($CLASS->skip(), 'Extended test, set the $EXTENDED_TESTING environment variable to run it', "will skip"); 7 8 $ENV{EXTENDED_TESTING} = 1; 9 is($CLASS->skip(), undef, "will not skip"); 10} 11 12done_testing; 13