-
-
23 May 2022 10:37:59 UTC
- Distribution: Test-Lib
- Module version: 0.003
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers (1330 / 0 / 0)
- Kwalitee
Bus factor: 1- 95.35% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (10.27KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Cwd
- File::Spec
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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.
Module Install Instructions
To install Test::Lib, copy and paste the appropriate command in to your terminal.
cpanm Test::Lib
perl -MCPAN -e shell install Test::Lib
For more information on module installation, please visit the detailed CPAN module installation guide.