NAME
Egg::Helper::Test - It helps the test program of the module.
SYNOPSIS
use Test::More tests=> 7;
use Egg::Helper::Test;
my $test= Egg::Helper::Test->new;
push @INC, $test->current;
chdir($test->temp);
.... ban, ban, ban
chdir($test->current);
pop @INC;
DESCRIPTION
When the test program is written, only small happiness might be able to be tasted.
METHODS
test->current
Current directory of the test execution is returned.
test->temp
Temp Path obtained from 'File::Temp' is returned. After it processes it, Temp Path is automatically deleted.
test->read_file([File Path]);
The content is returned reading the specified file. It is convenient for the correspondence check etc. of the content of writing.
AUTHOR
Masatoshi Mizuno, <mizuno@bomcity.com>
COPYRIGHT AND LICENSE
Copyright (C) 2006 Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.