commit | e7be87faa3f86b6bcde9251eff89d6976b7df808 | [log] [tgz] |
---|---|---|
author | Kailash <kailash@onlab.us> | Thu Sep 12 12:54:54 2019 -0700 |
committer | Kailash Khalasi <kailash@opennetworking.org> | Thu Sep 12 19:55:17 2019 +0000 |
tree | 394b4d0c775e53caefb4cf083f7e71830fe9fc61 | |
parent | b994594dba65656d2b3c781bc67531d55f96d0aa [diff] |
archiving pod logs in test builds Change-Id: I3acccd3c7272aa8af3189817228a0abde3746bf4
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.