Tapper::Testplan::Utils - Utility functions for testplan modules and plugins
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();
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)
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.