e1cbf59fee
Move around some ENVIRON so that we always have the expected values in the tests (it's cheap so why not?). multi/base.yaml tries to take advantage of YAML anchors to avoid repeating some of the longer substitutions[1] but I'm not sure if it is going to be the right thing. Next: do a resize. [1] https://gabbi.readthedocs.io/en/latest/format.html#substitution |
||
---|---|---|
gabbi_tempest | ||
.gitignore | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py |
README.rst
Gabbi + Tempest
This is an exploration of running gabbi as a tempest plugin. This code is based entirely on the work of Mehdi Abaakouk who made a tempest plugin for gnocchi. This code models that but will try to be more generic, eventually.
For the time being it works with Nova.
To experiment with it you need a working tempest installation and configuration. I used devstack with:
enable_service tempest
in local.conf.
Once tempest is confirmed to be working, make a clone of this repo, cd into it and do the equivalent of:
pip install -e .
If you are using virtualenvs or need sudo, your form will be different.
Go to the tempest directory and run testr limit the test run to gabbi related tests:
testr run gabbi --subunit |subunit-trace
This will run the tests described by the YAML files in
gabbi_tempest/tests/scenario/gabbits/
. Edit those files and
run the testr command again for fun and adventure.