Allows tests to validate code that can interact with files without touching the file system.
https://metacpan.org/release/Test-MockFile
Intercepts file system calls for specific files so unit testing can take place without any files being altered on disk.
This is useful for small tests where file interaction is discouraged.
A strict mode is even provided which can throw a die when files are accessed during your tests!
- Sources inherited from project devel:languages:perl
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-Test-MockFile && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Test-MockFile-0.036.tar.gz | 0000059444 58.1 KB | |
cpanspec.yml | 0000001181 1.15 KB | |
perl-Test-MockFile.changes | 0000005694 5.56 KB | |
perl-Test-MockFile.spec | 0000002649 2.59 KB |
Latest Revision
Tina Müller (tinita)
committed
(revision 8)
Fix disabling of __perllib_provides
Comments 0