commit | 3f8b0f657697b013350ad26ba2eac7f4ee4b7673 | [log] [tgz] |
---|---|---|
author | Suchitra Vemuri <suchitra@opennetworking.org> | Thu Sep 12 13:25:16 2019 -0700 |
committer | Suchitra Vemuri <suchitra@opennetworking.org> | Thu Sep 12 13:25:16 2019 -0700 |
tree | a19145ebf637ca0ee4fbd32dfc7200e44ed84b92 | |
parent | e7be87faa3f86b6bcde9251eff89d6976b7df808 [diff] |
adding logging to tests Change-Id: I4b8d4d89926c281f0cc5e4f73d0c3c52dd890ae4
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.