1Test::Folder(3) User Contributed Perl Documentation Test::Folder(3)
2
3
4
6 Test::Folder - test folder attributes
7
9 use Test::More ...;
10 use Test::Folder;
11
13 This modules provides a collection of test utilities for folder
14 attributes. Use it in combination with Test::More in your test
15 programs.
16
18 folder_exists_ok(FOLDERNAME [, TESTNAME] )
19 Ok if the folder exists, and not ok otherwise.
20
21 folder_not_exists_ok(FOLDERNAME [, TESTNAME] )
22 Ok if the folder does not exist, and not ok otherwise.
23
24 folder_empty_ok(FOLDERNAME [, TESTNAME] )
25 Ok if the folder is empty (contains no files or subfolders), and not ok
26 otherwise.
27
28 folder_not_empty_ok(FOLDERNAME [, TESTNAME] )
29 Ok if the folder is not empty (contains any files or subfolders), and
30 not ok otherwise.
31
32 folder_readable_ok(FOLDERNAME [, TESTNAME] )
33 Ok if the folder is readable, and not ok otherwise.
34
35 folder_not_readable_ok(FOLDERNAME [, TESTNAME] )
36 Ok if the folder is not readable, and not ok otherwise.
37
38 folder_writable_ok(FOLDERNAME [, TESTNAME] )
39 Ok if the folder is writable, and not ok otherwise.
40
41 folder_not_writable_ok(FOLDERNAME [, TESTNAME] )
42 Ok if the folder is not writable, and not ok otherwise.
43
44 folder_executable_ok(FOLDERNAME [, TESTNAME] )
45 Ok if the folder is executable, and not ok otherwise.
46
47 folder_not_executable_ok(FOLDERNAME [, TESTNAME] )
48 Ok if the folder is not executable, and not ok otherwise.
49
51 There are probably some more folder attributes that can be tested. If
52 you need them, please ask (or better yet, contribute code!).
53
55 Martin 'Kingpin' Thurn, "mthurn at cpan.org",
56 <http://tinyurl.com/nn67z>.
57
59 Please report any bugs or feature requests to "bug-test-dir at
60 rt.cpan.org", or through the web interface at
61 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Dir>. I will be
62 notified, and then you'll automatically be notified of progress on your
63 bug as I make changes.
64
66 You can find documentation for this module with the perldoc command.
67
68 perldoc Test::Folder
69
70 You can also look for information at:
71
72 • RT: CPAN's request tracker
73
74 <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Dir>
75
76 • AnnoCPAN: Annotated CPAN documentation
77
78 <http://annocpan.org/dist/Test-Dir>
79
80 • CPAN Ratings
81
82 <http://cpanratings.perl.org/d/Test-Dir>
83
84 • Search CPAN
85
86 <http://search.cpan.org/dist/Test-Dir>
87
90 Copyright (C) 2007-2008 Martin 'Kingpin' Thurn
91
92 This program is free software; you can redistribute it and/or modify it
93 under the same terms as Perl itself.
94
95
96
97perl v5.36.0 2022-07-22 Test::Folder(3)