commit | 30c418f89a0317f2f3d2c38013c2a8c672eaa6d5 | [log] [tgz] |
---|---|---|
author | Kailash <kailash@onlab.us> | Wed Sep 11 13:50:10 2019 -0700 |
committer | Kailash <kailash@onlab.us> | Wed Sep 11 13:53:07 2019 -0700 |
tree | 1af4ae8f49e844e53a8a028e954ef91438105361 | |
parent | fa025ea155176d1406dd202f379f3534b47835a4 [diff] |
framework changes Change-Id: I13484cd96fa33507baa44df327ea07233e851ed5
Automated test-suites to validate the stability/functionality of VOLTHA. Tests that reside in here should be written in Robot Framework and Python.
Intended use includes:
voltctl
- a command line tool to access VOLTHA. Reference - voltctlkubectl
- a command line tool to access your Kubernetes Clusers. Reference - kubectlvoltctl
and kubectl
should be configured to your system under test prior to any test executionsDirectory Structures are as followed:
├── tests └── sanity/ // basic tests that should always pass. Will be used as gating-patchsets └── functional/ // feature/functionality tests that should be implemented as new features get developed └── libraries // shared test keywords (functions) across various test suites └── variables // shared variables across various test suites
Download voltha-system-tests
git clone https://gerrit.opencord.org/voltha-system-tests
Create test virtual-environment
cd voltha-system-tests/
source setup_venv.sh
Running Test-Suites
robot --exclude notready sanity.robot
This test execution will generate three report files (output.xml
, report.html
, log.html
). View the report.html
page to analyze the results.