NAME

Test::DirectoryLayout - Test directory layout for standard compliance

VERSION

version 0.001

SYNOPSIS

use Test::More;
use Test::DirectoryLayout;

directory_layout_ok();

DESCRIPTION

FUNCTIONS

get_allowed_dirs

Returns reference to the list of allowed directories.

set_allowed_dirs($dirs)

Set list of allowed directories to the provided list. The contents of the list are copied.

directory_layout_ok ($dir)

Tests if the provided directory contains only allowed directories.

If no name is provided the current directory is assumed.

directory_layout_ok

SEE ALSO

Test::Dir for testing several attributes of a single directory.
Test::Dirs for comparing a directory with an existing directory.
Test::Directory for testing if creating and deleting files and directories was performed as expected.

AUTHOR

Gregor Goldbach <grg@perlservices.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Gregor Goldbach.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.