-
-
31 Oct 2018 21:38:18 UTC
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (23)
- Testers (594 / 3 / 0)
- Kwalitee
Bus factor: 3- 72.89% Coverage
- License: artistic_2
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (23.09KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Todd Rinaldo
- Dependencies
- Overload::FileCheck
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 0.010
- Add .perltidyrc policy
- When reporting strict mode violations, be sure to report the a stack location outside of our modules.
- Report a stack trace for strict mode violations to determine the source of the problem.
- Add an ignore hash for modules (like DynaLoader) which are allowed to open files.
- Ignore STDIN/STDERR/STDOUT since tests often have to manipulate them and that's not really IO.
- Autovivify a sysread where the buffer passed in is undef.
Modules
Lets tests validate code which interacts with files without the file system ever being touched.Provides a class object for Test::MockFile to give out for opendir calls.Provides a class for Test::MockFile to tie to on open or sysopen.Examples
Module Install Instructions
To install Test::MockFile, copy and paste the appropriate command in to your terminal.
cpanm Test::MockFile
perl -MCPAN -e shell install Test::MockFile
For more information on module installation, please visit the detailed CPAN module installation guide.