-
-
08 Nov 2018 18:48:32 UTC
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (23)
- Testers (423 / 115 / 0)
- Kwalitee
Bus factor: 3- 75.34% Coverage
- License: artistic_2
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (26.54KB)
- 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.011
- Fix for my $file_contents = do { local $/; <$fh> };
- Mock CORE::GLOBAL::unlink and support directories for unlink
- Mock CORE::GLOBAL::mkdir
- Mock CORE::GLOBAL::rmdir
- MockFile->symlink now follows the symlink norm of ($target, $file), not the reverse.
- New mock helper 'exists' to check if the file is there.
- New mock helper 'permissions' tells you the current permissions of the mocked file.
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.