Bot-Net
view release on metacpan or search on metacpan
lib/Bot/Net/Test.pm view on Meta::CPAN
Bot::Net::Test->log->info("Starting test");
$test->setup;
POE::Kernel->run;
}
=head1 POE STATES
=head2 on _start
Sets up a timer which kills the whole test if it doesn't receive any messages within 30 seconds.
If you have a test that may run for longer than 30 seconds, make sure your events yield "something_happened":
on bot message_to_me => run {
yield 'something_happened';
# do whatever else you like...
};
=cut
( run in 0.764 second using v1.01-cache-2.11-cpan-49f99fa48dc )