DOKK / manpages / debian 12 / libfuture-io-perl / Test::Future::IO::Impl.3pm.en
Test::Future::IO::Impl(3pm) User Contributed Perl Documentation Test::Future::IO::Impl(3pm)

"Test::Future::IO::Impl" - acceptance tests for "Future::IO" implementations

   use Test::More;
   use Test::Future::IO::Impl;
   use Future::IO;
   use Future::IO::Impl::MyNewImpl;
   run_tests 'sleep';
   done_testing;

This module contains a collection of acceptance tests for implementations of Future::IO.

   run_tests @suitenames

Runs a collection of tests against "Future::IO". It is expected that the caller has already loaded the specific implementation module to be tested against before this function is called.

The following test suite names may be passed to the "run_tests" function:

Tests the "Future::IO->accept" method.

Tests the "Future::IO->connect" method.

Tests the "Future::IO->sleep" method.

Tests the "Future::IO->sysread" method.

Tests the "Future::IO->syswrite" method.

Tests the "Future::IO->waitpid" method.

Paul Evans <leonerd@leonerd.org.uk>

2023-02-21 perl v5.36.0