Testing and result upload client for refstack
Go to file
Steve Martinelli 0f02152a21 Create a .gitignore file for refstackclient
Ignore a few of the common types of files.

Change-Id: Ic67a6d3e86b4d950a37c1bdccbb8c9ce75e27c1c
2014-09-11 17:03:43 -04:00
refstack-client Run Tempest tests serially to improve test repeatability. 2014-08-29 12:34:49 -07:00
tests First Commit 2014-07-10 11:48:59 -07:00
.gitignore Create a .gitignore file for refstackclient 2014-09-11 17:03:43 -04:00
.gitreview Update the README file. 2014-07-30 18:20:53 -07:00
.testr.conf First Commit 2014-07-10 11:48:59 -07:00
LICENSE First Commit 2014-07-10 11:48:59 -07:00
README.rst Update the README file. 2014-07-30 18:20:53 -07:00
requirements.txt Use the right format for "editable" install. 2014-07-20 21:32:40 -07:00
setup_ubuntu_env.sh Remove unused packages. 2014-08-29 12:50:55 -07:00
setup.cfg First Commit 2014-07-10 11:48:59 -07:00
setup.py First Commit 2014-07-10 11:48:59 -07:00
test-requirements.txt First Commit 2014-07-10 11:48:59 -07:00
tox.ini First Commit 2014-07-10 11:48:59 -07:00

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

  1. Prepare a tempest configuration file that is customized to your cloud environment.

  2. Change the directory to the refstack-client directory (i.e. cd ~/refstack-client).

  3. Source to use the correct Python environment.

    source test_runner/bin/activate

  4. Execute test by typing:

    refstack-client/refstack-client -c "Path of the tempest configuration fileto use"

    Note:

    1. Adding -v option will show the summary output.
    2. Adding -vv option will show the Tempest test result output.
    3. 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").
    4. Adding --url option will upload the test results to a Refstack API server instead of the default Refstack API server.