-
-
16 Feb 2022 22:56:56 UTC
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (23)
- Testers (64 / 129 / 0)
- Kwalitee
Bus factor: 3- 78.05% Coverage
- License: artistic_2
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (48.85KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Todd Rinaldo
- Dependencies
- Overload::FileCheck
- Text::Glob
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 0.029
- Fix broken link to small test documentation
- Ensure strict mode is enabled by default and prevent import conflicts.
- Fix warnings during global destruction
- Additional rules for _abs_path_to_file
- GH #103 - Update eg/example.pl:
- Add rmdir, mkdir and unlink default position
- Postpone file arg check during strict mode analysis
- Fixup hook args and teach for mkdir filename pos
- Perltidy policy changes.
- Use carp in filename and readlink
- Fix broken link to small test documentation
Modules
Allows tests to validate code that can interact with files without touching the file system.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.