X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=robot-systest%2FREADME.md;fp=robot-systest%2FREADME.md;h=0000000000000000000000000000000000000000;hb=e5245336823411b71968e72c32b3bf33cc07638f;hp=084ef507ed7f736aa1bc9bf9c338c017d9471d6b;hpb=84fe31f632166d2fbf566968bd25aa9545e96fdc;p=osm%2Fdevops.git diff --git a/robot-systest/README.md b/robot-systest/README.md deleted file mode 100644 index 084ef507..00000000 --- a/robot-systest/README.md +++ /dev/null @@ -1,50 +0,0 @@ - - -# Robot Framework: Test usage - -## Requirements - -- OSM client installed () -- devops repository cloned in home () -- The descriptor packages used on each test are expected to be in `${PACKAGES_FOLDER}`. -- A set of environment variables (there is an example file located at devops/robot-systest/environment.rc): - - `OSM_HOSTNAME`: IP address of target OSM. - - `OS_CLOUD`: Cloud credentialss. - - `VIM_TARGET`: VIM where tests will be run. - - `VIM_MGMT_NET`: VIM management network, reachable from robot. - - `PACKAGES_FOLDER`: Path where descriptor packages repository are cloned: https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages/ - - `ROBOT_DEVOPS_FOLDER`: Where the devops repository is located. - - `ROBOT_REPORT_FOLDER`: Where robot outpul will be placed. - -## Installation - -```bash -sudo -H python3 -m pip install --ignore-installed haikunator requests pyvcloud progressbar pathlib robotframework robotframework-seleniumlibrary robotframework-requests robotframework-SSHLibrary -sudo snap install yq -sudo apt-get install -y python3-openstackclient # Installs Queens by default -``` - -## Usage - -Example using hackfest basic test. - -```bash - -# Set your environment variables in environment.rc as specified in requirements -source environment.rc - -cd ~/devops/robot-systest -robot -d ${ROBOT_REPORT_FOLDER} testsuite/hackfest_basic.robot -```