Test::AutoBuild::Result - represents results of an action
use Test::AutoBuild::Result;
This module provides a representation of the results from an 'interesting' action of the build process. The results current include a key identifying the action, status string identifying the outcome of the action, a log of command output, and start and end times.
Creates a new result object.
Retrieves the name associated with the result, which is typically an alpha numeric string.
Retrieves the label associated with the result, which can be free format text.
Retrieves the log of the output of the action
Retrieves the status of the result, one of 'pending', 'success', 'failed', 'aborted', or 'skipped'.
Retrieves the time at which the action began execution, or undefined if it is yet to run
Retrieves the time at which the action completed execution, or undefined if it is yet to complete
Adds a nested result to this result. The $sub_result parameter should be another instance of the Test::AutoBuild::Result class.
$sub_result
Retrieves a list of all nested results, previously added with the add_result method.
add_result
Returns a true value if there are nested results
Daniel Berrange <dan@berrange.com>
Copyright (C) 2005 Daniel Berrange <dan@berrange.com>
perl(1), Test::AutoBuild::Module
perl(1)
To install Test::AutoBuild, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::AutoBuild
CPAN shell
perl -MCPAN -e shell install Test::AutoBuild
For more information on module installation, please visit the detailed CPAN module installation guide.