logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Paul Evans <leonerd@leonerd.org.uk>

perl v5.36.0                                       2023-07-05                        Test::Future::IO::Impl(3pm)

Description

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

Functions

run_tests
          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.

Name

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

Synopsis

          use Test::More;
          use Test::Future::IO::Impl;

          use Future::IO;
          use Future::IO::Impl::MyNewImpl;

          run_tests 'sleep';

          done_testing;

Test Suites

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

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

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

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

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

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

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

See Also