SYNOPSIS
use Test2::V0;
use Test2::Plugin::AnyEvent::Timeout;
use AnyEvent;
my $cv = AnyEvent->condvar;
$cv->recv;
DESCRIPTION
Every now and then I used to get bug reports from cpantesters that my AnyEvent based modules were getting stuck in an infinite loop. That is not a nice thing to do! So I woul rewrite the tests to add a timeout and cause the test to bailout if it ran for more than 30 seconds. This is a Test2 plugin that does this without the boilerplate.
SEE ALSO
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 51:
Unknown directive: =over4
- Around line 53:
'=item' outside of any '=over'