1Test::Dir(3)          User Contributed Perl Documentation         Test::Dir(3)
2
3
4

NAME

6       Test::Dir - test directory attributes
7

SYNOPSIS

9         use Test::More ...;
10         use Test::Dir;
11

DESCRIPTION

13       This modules provides a collection of test utilities for directory
14       attributes.  Use it in combination with Test::More in your test
15       programs.
16

FUNCTIONS

18   dir_exists_ok(DIRNAME [, TESTNAME] )
19       Ok if the directory exists, and not ok otherwise.
20
21   dir_not_exists_ok(DIRNAME [, TESTNAME] )
22       Ok if the directory does not exist, and not ok otherwise.
23
24   dir_empty_ok(DIRNAME [, TESTNAME] )
25       Ok if the directory is empty (contains no files or subdirectories), and
26       not ok otherwise.
27
28   dir_not_empty_ok(DIRNAME [, TESTNAME] )
29       Ok if the directory is not empty, and not ok otherwise.
30
31   dir_readable_ok(DIRNAME [, TESTNAME] )
32       Ok if the directory is readable, and not ok otherwise.
33
34   dir_not_readable_ok(DIRNAME [, TESTNAME] )
35       Ok if the directory is not readable, and not ok otherwise.
36
37   dir_writable_ok(DIRNAME [, TESTNAME] )
38       Ok if the directory is writable, and not ok otherwise.
39
40   dir_not_writable_ok(DIRNAME [, TESTNAME] )
41       Ok if the directory is not writable, and not ok otherwise.
42
43   dir_executable_ok(DIRNAME [, TESTNAME] )
44       Ok if the directory is executable, and not ok otherwise.
45
46   dir_not_executable_ok(DIRNAME [, TESTNAME] )
47       Ok if the directory is not executable, and not ok otherwise.
48

TO DO

50       I know there are a lot more directory attributes that can be tested.
51       If you need them, please ask (or better yet, contribute code!).
52

AUTHOR

54       Martin 'Kingpin' Thurn, "mthurn at cpan.org",
55       <http://tinyurl.com/nn67z>.
56

BUGS

58       Please report any bugs or feature requests to "bug-test-dir at
59       rt.cpan.org", or through the web interface at
60       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Dir>.  I will be
61       notified, and then you'll automatically be notified of progress on your
62       bug as I make changes.
63

SUPPORT

65       You can find documentation for this module with the perldoc command.
66
67         perldoc Test::Dir
68
69       You can also look for information at:
70
71       ·   RT: CPAN's request tracker
72
73           <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Dir>
74
75       ·   AnnoCPAN: Annotated CPAN documentation
76
77           <http://annocpan.org/dist/Test-Dir>
78
79       ·   CPAN Ratings
80
81           <http://cpanratings.perl.org/d/Test-Dir>
82
83       ·   Search CPAN
84
85           <http://search.cpan.org/dist/Test-Dir>
86

ACKNOWLEDGEMENTS

89       Copyright (C) 2007-2008 Martin 'Kingpin' Thurn
90
91       This program is free software; you can redistribute it and/or modify it
92       under the same terms as Perl itself.
93
94
95
96perl v5.28.1                      2017-04-22                      Test::Dir(3)
Impressum