1File::HomeDir::Test(3)User Contributed Perl DocumentationFile::HomeDir::Test(3)
2
3
4

NAME

6       File::HomeDir::Test - Prevent the accidental creation of user-owned
7       files during testing
8

SYNOPSIS

10         use Test::More test => 1;
11         use File::HomeDir::Test;
12         use File::HomeDir;
13

DESCRIPTION

15       File::HomeDir::Test is a File::HomeDir driver intended for use in the
16       test scripts of modules or applications that write files into user-
17       owned directories.
18
19       It is designed to prevent the pollution of user directories with files
20       that are not part of the application install itself, but were created
21       during testing. These files can leak state information from the tests
22       into the run-time usage of an application, and on Unix systems also
23       prevents tests (which may be executed as root via sudo) from writing
24       files which cannot later be modified or removed by the regular user.
25

SUPPORT

27       See the support section of the main File::HomeDir documentation.
28

AUTHOR

30       Adam Kennedy <adamk@cpan.org>
31
33       Copyright 2005 - 2011 Adam Kennedy.
34
35       This program is free software; you can redistribute it and/or modify it
36       under the same terms as Perl itself.
37
38       The full text of the license can be found in the LICENSE file included
39       with this module.
40
41
42
43perl v5.26.3                      2017-04-06            File::HomeDir::Test(3)
Impressum