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.