maximenoel8 / caasp_robotframework

2 stars 0 forks source link

caasp_robotframework

Installation

Installed python requirements :

You need to have this tools installed :

Setup environment

Configure ${CAASP_KEY} in parametes/env.robot by adding your SSC key

Configure your vmware and openstack setting in env.robot

For backup and restore test, configure your aws identification key

Code Organization

alt text

Execute test

robot -v PREFIX:<your name> -v NUMBER:<master:worker> -v PLATFORM:<openstack|vmware> --test <path to your test>  <caasp_robotframework_folder>

Exemples

Deploy a cluster on vmware and keep it

robot --argumentfile <path_to_project>/caasp_robotframework/argumentfiles/argumentfile-template.txt ./

Run authentication test

robot --test Caasp\ Robotframework.Test.Rbac.389ds_authentication -v NUMBER:1:3 -v PLATFORM:vmware -v PREFIX:myname --outputdir=tmp .

More advance example :

robot --test Caasp\ Robotframework.Test.Replica.dex_gangway_replicat -v MODE:DEV --variable PULL_REQUEST:951 -v PREFIX:myname -v NUMBER:1:3 -v PLATFORM:vmware --outputdir=tmp .

Executing tests by tags :

robot –include=release -v PREFIX:myname -v platform:aws -v number:1:2 ./

Configuration available

You can change global variable by adding -v \<variablename>:\<new value>. Here some usefull variable

Global

OIDC configuration

Installation customization

Upgrade part and install with RPM

Caasp version