commit | 58766c97fefca020150954f73cc9f8adf6ad9029 | [log] [tgz] |
---|---|---|
author | Suchitra Vemuri <suchitra@opennetworking.org> | Tue Sep 10 11:56:47 2019 -0700 |
committer | Suchitra Vemuri <suchitra@opennetworking.org> | Tue Sep 10 18:58:41 2019 +0000 |
tree | 1fc342d79b84c97eafed3640b506759850014d66 | |
parent | 2adc07ea778d0e8b13e6cd3dc671343305343a0e [diff] |
updates to voltha automation tests/framework Change-Id: I937968d9560811c0cdd6245db39164261d27e37e
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.