File: README

package info (click to toggle)
libtest-lib-perl 0.003-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 132 kB
  • sloc: perl: 32; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 835 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
NAME
    Test::Lib - Use libraries from a t/lib directory

SYNOPSIS
        use Test::Lib;
        use Test::More;
        use Private::Testing::Module;

        ok 1, 'passing test';
        my_test 'test from private module';

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

AUTHOR
    Graham Knop <haarg@haarg.org>

COPYRIGHT AND LICENSE
    This software is Copyright (c) 2012 by Graham Knop.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.