NAME
Tapper::Testplan::Utils - Utility functions for testplan modules and plugins
SYNOPSIS
Some functions are needed for both standard testplan modules (like Reporter or Generator) and plugin modules (like Taskjuggler).
use Tapper::Testplan::Utils;
my $foo = Tapper::Testplan::Utils->new();
FUNCTIONS
get_testplan_success
Get success overview for a task given by path. An optional second argument gives a time in seconds. Only results that are at most that old are used.
@param string - path @optparam int - interval in seconds
@retval hash ref - contains * test_all - number of all tests * tests_scheduled - number of tests scheduled but not yet started * tests_finished - number of currently running tests * tests_finished - number of already finished tests * success - current success ratio of the whole testplan in percent (may change later when not all tests are finished yet)
AUTHOR
AMD OSRC Tapper Team <tapper@amd64.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..
This is free software, licensed under:
The (two-clause) FreeBSD License