gnocchi/.testr.conf
Chris Dent fc276ef08e Base infrastructure to support gabbi tests
Provides the code necessary to run gabbi tests hosted in yaml files
in gnocchi/tests/gabbi/gabbits. The provided tests do very little
other than prove that it is working. Subsequent patches may add
more rigorous and vigorous tests by adding yaml files.

The gabbi tests are either run as part of other tox targets that
include a database, or by a 'py27-gabbi' target. If no indexer is
available, those gabbi tests which require the ConfigFixture (all
of them because of the way the api server starts up) will be skipped.

Change-Id: I9fece3b608847177ab30cff082ecee0d33e34cc5
2015-02-18 16:06:12 +00:00

6 lines
348 B
Plaintext

[DEFAULT]
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} ${PYTHON:-python} -m subunit.run discover -t . ${OS_TEST_PATH:-gnocchi/tests} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list
group_regex=(gabbi\.driver.test_gabbi_[^_]+)_