Test::Lib(3pm)

Test::Lib3pm

Use libraries from a t/lib directory

Usage

    use Test::Lib;
    use Test::More;
    use Private::Testing::Module;
    ok 1, 'passing test';
    my_test 'test from private module';

Overview

Searches upward from the calling module for a directory t with a lib directory inside it, and adds it to the module search path. Looks upward up to 5 directories. This is intended to be used in test modules either directly in t or in a subdirectory to find their included testing libraries located in t/lib.

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

Author

Graham Knop <[email protected]>

From libtest-lib-perl 0.003-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.