Andrew F. Hampe > Wetware-Test > Wetware::Test::Uilities

Download:
Wetware-Test-0.07.tar.gz

Annotate this POD

View/Report Bugs
Source  

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.

syntax highlighting: