NAME
Tapper::Cmd::Testplan - Backend functions for manipluation of testplan instances in the database
SYNOPSIS
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);
...
FUNCTIONS
get_module_for_type
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
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
update
del
AUTHOR
AMD OSRC Tapper Team, <tapper at amd64.org>
BUGS
Please report any bugs or feature requests to osrc-sysin at elbe.amd.com
, or through the web interface at https://osrc/bugs. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
COPYRIGHT & LICENSE
Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.
This program is released under the following license: freebsd