PITA::XML::Install - A PITA report on a single distribution install
PITA::XML::Install is a data object that contains the complete set of information on a single test/install run for a distribution on a single host of an arbitrary platform.
PITA::XML::Install
# Create a new Install object my $install = PITA::XML::Install->new( request => $request platform => $platform, analysis => $analysis, );
The new constructor is used to create a new installation report, a collection of which are serialized to the PITA::XML XML file.
new
Returns a new PITA::XML::Install object, or dies on error.
The request accessor returns testing request information.
request
Returns a PITA::XML::Distribution object.
The platform accessor returns the platform specification for the install.
platform
Returns a PITA::XML::Platform object.
$install->add_command( $command );
The add_command method adds a PITA::XML::Command object to the list of commands in the install object.
add_command
Returns true, or dies is you do not pass a PITA::XML::Command object.
The commands accessor returns the commands executed during the testing.
commands
Returns a list of zero or more PITA::XML::Command objects.
$install->add_test( $test );
The add_test method adds a PITA::XML::Test object to the list of test results in the install object.
add_test
Returns true, or dies is you do not pass a PITA::XML::Test object.
The tests accessor returns the results of the individual tests run during the testing.
tests
Returns a list of zero or more PITA::XML::Test objects.
The analysis accessor returns the analysis object for the test run.
analysis
Returns a PITA::XML::Analysis object, or undef if no analysis performed during the testing.
undef
Bugs should be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=PITA-XML
For other issues, contact the author.
Adam Kennedy <cpan@ali.as>, http://ali.as/
PITA::XML
The Perl Image-based Testing Architecture (http://ali.as/pita/)
Copyright 2005, 2006 Adam Kennedy. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install PITA::XML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PITA::XML
CPAN shell
perl -MCPAN -e shell install PITA::XML
For more information on module installation, please visit the detailed CPAN module installation guide.