The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Tapper::Cmd::Scenario

SYNOPSIS

This project offers backend functions for all projects for manipulation the database on a higher level than that offered by Tapper::Schema.

    use Tapper::Cmd::Scenario;

    my $bar = Tapper::Cmd::Scenario->new();
    $bar->add($scenario);
    ...

NAME

Tapper::Cmd::Scenario - Backend functions for manipulation of scenario in the database

FUNCTIONS

add

Add a new scenario to database.

add

Add a new scenario to database

@param hash ref - options for new scenario

@return success - scenario id @return error - undef

del

Delete a testrun with given id. Its named del instead of delete to prevent confusion with the buildin delete function.

@param int - testrun id

@return success - 0 @return error - error string

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