Tapper::Testplan::Plugins::Taskjuggler - Main module for testplan reporting
use Tapper::Testplan::Reporter; my $foo = Tapper::Testplan::Reporter->new();
Get the list of platforms. Each platform is a hash ref. The hash contains: * name - the name of the platform * content - data about tasks on this platform as CVS
@return array - list of platform hashes
Get the data about platforms and data from cache or remote.
@return array - data about all platforms
Get a color code for the success of this test plan. The returned color codes have the following meaning. 'green' - successfully tested 'yellow' - not all tests run but not errors yet 'red' - at least one test failed 'black' - no test defined
@param hash ref - success overview
@return string - 'green', 'yellow', 'red', 'black'
Prepare a task overview for WebGUI.
@optparam hash ref - contains "start" and "end" DateTime object
@return array ref - contains hash refs
Get a list of platforms together with their associated tasks.
Get a list of testplans we want reports for.
@return array - contains DBIC result objects
Send the text as mail.
@param string - report text
@return undef
Choose which tasks are actually sent. Successful reports are only sent if they were not finished as the start of week. They are only checked because may have become red and in this case need to be reopened. Unsuccessful report are always sent and can not end this week. If needed the end date is adapted accordingly.
@param hash ref - report to choose @param array - reports already chosen for sending
@return success - new list of reports to sent @return error - exception
Send a report based on the data received as parameter.
@param list of hash refs - contains reports
@return success - 0 @return error - exception
AMD OSRC Tapper Team <tapper@amd64.org>
This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..
This is free software, licensed under:
The (two-clause) FreeBSD License
To install Tapper::Testplan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tapper::Testplan
CPAN shell
perl -MCPAN -e shell install Tapper::Testplan
For more information on module installation, please visit the detailed CPAN module installation guide.