PITA::XML::Test - The result of an single executed test script
The PITA::XML::Test class provides data objects that represent the output from a single test script.
PITA::XML::Test
The new constructor is used to create a new test result.
new
TO BE COMPLETED
Returns a PITA::XML::Text object, or dies on error.
PITA::XML::Text
The name accessor returns the name of the test, if it has one.
name
Returns a not-null string, or undef if the test is unnamed.
undef
The language accessor returns the mime-type of the test output.
language
On creation, this defaults to "text/x-tap" unless otherwise specified.
The stdout accessor returns the output of the test as a SCALAR reference.
stdout
SCALAR
The stderr accessor returns the error output of the command as a SCALAR reference, or undef if the test was run via a communications mechanism that does not support error output.
stderr
The exitcode accessor returns the process exit code of the test, if run across a communications mechanism that supports the concept of an exit code.
exitcode
Returns a not-null string (generally an integer), or undef if the test did not return an exit code.
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.