libtest-mockfile-perl

Perl module that allows tests to validate code, without requiring a file system

Description

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 (and turned on by default) which can throw a die when files are accessed during your tests!

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Test-MockFile


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libtest-mockfile-perl