Tapper::Cmd::Testplan
This project offers functions to add, delete or update testplan instances in the database.
use Tapper::Cmd::Testplan; my $cmd = Tapper::Cmd::Testplan->new(); my $plan_id = $cmd->add($plan); $cmd->update($plan_id, $new_plan); $cmd->del($plan_id); ...
Tapper::Cmd::Testplan - Backend functions for manipluation of testplan instances in the database
Get the name of the Tapper::Cmd module that is reponsible for a given type. The name of the module is optimized for the Tapper developer but the type given in the testplan should be telling for the testplan user.
@param string - type
@return string - name of the responsible module
Add a new testplan instance to database and create the associated testruns. The function expects a string containing the evaluated test plan content and a path.
@param string - plan content @param string - path @optparam string - name
@return int - testplan instance id
@throws die()
Delete testrun with given id from database. Please not that this does not remove the associated testruns.
@param int - testplan instance id
@return success - 0 @return error - exception
Reapply the evaluated testplan of the given testplan instance.
@return success - new testplan id @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::Cmd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tapper::Cmd
CPAN shell
perl -MCPAN -e shell install Tapper::Cmd
For more information on module installation, please visit the detailed CPAN module installation guide.