The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Wetware::Test::Uilities - Utility Functions for testing

SYNOPSIS

  use base Wetware::Test::Uilities;

DESCRIPTION

Simple functions for helping build test code.

None of them are exported by default.

is_testsuite_module( $file )

Returns true if the file name matches TestSuite.pm

path_to_data_dir_from($dir)

returns the path to t/test_data.

path_to_data_dir()

Uses Findbin's $Bin, to call path_to_data_dir_from().

readable_file_path($file_path)

tests that there is a string there, and that it is readable.

SEE ALSO

FindBin

AUTHOR

"drieux", <"drieux [AT] at wetware.com">

COPYRIGHT & LICENSE

Copyright 2009 "drieux", all rights reserved.

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