The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Meta::Development::TestInfo - provide information about the testing environment.

COPYRIGHT

Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.

DETAILS

        MANIFEST: TestInfo.pm
        PROJECT: meta
        VERSION: 0.03

SYNOPSIS

        package foo;
        use Meta::Development::TestInfo qw();
        my($object)=Meta::Development::TestInfo->new();
        my($result)=$object->method();

DESCRIPTION

This method will provide whatever information modules need in order to perform testing. This could be a very wide array of information: 1. Valid user on the current machine. 2. Valid ftp site (host,user and password) on which ftp operations could be performed. 3. Temporary directory where temp files can be stored. 4. Http site from which to perform HTTP queries. 5. Access information to various databases. 6. Verbosity level while testing. 7. Depth of testing to be performed. etc...

Feel free to add more information to this object as it becomes neccessary.

FUNCTIONS

        BEGIN()
        read($$)
        read_modu($$)
        TEST($)

FUNCTION DOCUMENTATION

BEGIN()

This method sets up accessor methods to the following attributes: 1. user 2. password 3. host 4. domain 5. mysqldsn 6. mysqluser 7. mysqlpass

read($$)

This method reads the TestInfo object from an XML config file. The method uses the XML::Simple parser to do it's work.

read_modu($$)

This method is exactly like the above read method except the input file is relative to the development system.

TEST($)

Test suite for this module.

SUPER CLASSES

None.

BUGS

None.

AUTHOR

        Name: Mark Veltzer
        Email: mailto:veltzer@cpan.org
        WWW: http://www.veltzer.org
        CPAN id: VELTZER

HISTORY

        0.00 MV web site automation
        0.01 MV SEE ALSO section fix
        0.02 MV teachers project
        0.03 MV md5 issues

SEE ALSO

Meta::Class::MethodMaker(3), Meta::Development::Module(3), Meta::Utils::Output(3), XML::Simple(3), strict(3)

TODO

Nothing.