Testing and result upload client for refstack
153432945c
- include sphinx in requirements - basic configuration, generated using sphinx - updated gitignore to ignore the build directory - added a readme on how to build the docs |
||
---|---|---|
doc | ||
refstack-client | ||
tests | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup_ubuntu_env.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
refstack-client
refstack-client is a command line utility that allows you to execute Tempest test runs based on configurations you specify. When finished running Tempest it sends the passed test data back to the Refstack API server.
Usage (Ubuntu)
We've created an "easy button" for Ubuntu.
$ sh ./setup_ubuntu_env.sh
Start testing
Prepare a tempest configuration file that is customized to your cloud environment.
Change the directory to the refstack-client directory (i.e. cd ~/refstack-client).
Source to use the correct Python environment.
source test_runner/bin/activate
Execute test by typing:
refstack-client/refstack-client -c "Path of the tempest configuration fileto use"
Note:
- Adding -v option will show the summary output.
- Adding -vv option will show the Tempest test result output.
- Adding -t option will only test a particular test case or a test group. This option can be used for quick verification of the target test cases (i.e. -t "tempest.api.identity.admin.test_roles").
- Adding --url option will upload the test results to a Refstack API server instead of the default Refstack API server.