Init command was not working properly as it could not locate the
configuration sample file.
Steps taken:
- Move config-generator.tempest.conf to etc so it will be installed
with pbr.
- Update all files with new path to config-generator-tempest.conf as
needed.
- Refactor init command so if it detects we are not in a virtual
environment, try to find the global config directory /etc/tempest.
If that fails fallback to [sys.prefix]/etc/tempest.
Closes-Bug: #1491058
Closes-Bug: #1490670
Change-Id: I960bc711ff78ac2b0441ef63dff8ec4fb268fd3a
This commit fixes a few things in the tempest docs. First it fixes all
of the sphinx warnings and enables fail on warn to ensure we're using
valid sphinx everywhere. It also adds a link from the configuration
guide to the sample config file.
Change-Id: I3ad645a6bbfa46b4498e1732410743e46d6eb0cb
This commit updates the tempest README to document the new workflow
for running and interacting with tempest. The quickstart section is
used for this because that is where we were previously explaining how
to run tempest. The previous instructions for running tempest will
still work (and should always continue to work, we do not want to
break that usage model) so instead of being removed a new section at
the bottom of the README is added to document this, despite not being
the currently recommended workflow. Right now tempest run is excluded
from this doc, since more work needs to be done to figure out how
that will implemented.
Partially Implements: bp tempest-cli-improvements
Change-Id: Iced98b74b7ff651423fd1efa205dc0a4aaa28d5f
Change the description to
1."- Tempest should be self-testing."
2."The etc/tempest.conf.sample attempts to be a
self-documenting version of the configuration."
3."However, because large parts of Tempest
are self-verifying there might be uncaught
issues running on Python 3.4"
Closes-Bug: #1486904
Change-Id: Ic5a5446f62a3bfa7befb5ca9acbb577446faaba4
We're using oslo-config-generator to generate a config file other than
copy the tempest.config.sample. We should update the description in
qucikstart of README.rst.
Change-Id: I5c7c3f9041da3e5c3840b440bba6e614c23fdf8a
Closes-Bug: #1481635
This commit adds references explaining the current state of python 3.4
and tempest to the readme, pkg metadata, and adds an etry to the tox
envlist for running the unit tests on python 3.4.
Change-Id: I9c1e3cdf53dbae723a9fee67ad96932709d2305f
The cli tests have been marked for removal for ~6 months and the
framework was the first thing included in tempest lib. There has
been more than enough time for all the projects to pick this up
in the client repos. So let's remove it all!
As part of this a couple of missing entries for tempest's
requirements.txt were found. These dependencies were being installed
by the clients so the fact they were missing was never noticed prior
to this. This commit also adds these missing entries back into the
requirements file.
Change-Id: I4f8638f1c048bbdb598dd181f4af272ef9923806
This patch fixes a typo in the last paragraph of the README file. Also
this file would sometimes use a capital T for Tempest and sometimes
not. This patch uniformly does capitalization across the file.
Change-Id: I8461e01de374ad487ed7f4af6beb35db921064d7
This commit makes several needed cleanups and improvements to the
tempest readme to make things clearer and elaborate on some sections.
Also as the readme is intended to be a tempest users guide, this moves
sections which are more developer focused to the hacking guide.
Change-Id: I4180ce18268443873fe7d8d5e7d0aaebc2cd1e08
This commit adds a few sentences to the end of the python 2.6 section
in the readme to clearly articulate that there is no python 2.6 in
tempest starting with kilo, and that patches to fix python 2.6 support
will be rejected.
Change-Id: I28b4714e35b84642be47961d3f51343450504db7
This commit adds a section to the README outlining that tempest tests
should only be added for stable APIs. If the API is tested the
expectation is that it complies with the API stability guidelines.
Change-Id: I02a93f66ff45e4d687b7395fb24ee5bda6e52fb0
This commit adds a section to the tempest README outlining some things
that have to be watched when pushing changes to tempest because of
branchless tempest
Change-Id: I9dbf042cef6af51c92d48d42ba04c1582690bda7
This commit adds a new section to the tempest README regarding python2.6
with tempest. It also outlines the steps required to enable testr with
python2.6.
Change-Id: I1603b24a9654ac5e71a54f63754d874cd39ce4da
This commit just fixes a couple of issues with the README file and adds
some details about the OS_TEST_PATH env variable and unit tests.
Closes-bug: #1268440
Change-Id: I17f75f7d7b3a2ac75eac884bc403bc46d6a2e77f
Closes-Bug: #1263885
By separating the negative tests, the README example has not been valid.
This commit fix this.
Change-Id: I299618bb9da63b47af17efbe4ea226ebf770f86a
This commit just adds some documentation around using the sample config
generator. It also adds a wrapper script that sets the env variable for
running the oslo generator script with tempest.
Change-Id: I860b17defeeb85174e68b1e8b046b0e43c30683b
One of the things we should make clear is what Tempest is, and what
it isn't at any point in time. This should be up front and center
in our README
Change-Id: I3b92c8afe7031630f97a4fb060bf7b555f1bb1c2
This commit just changes the references to nose in the project README
to testr. It also adds a sentence about using run_tests.sh and tox.
Change-Id: I7512b7f954c1c83186b1f428e9371261cf50f41b
The man page generation failed with sphinx v1.1.3
and docutils 0.10 and 0.11.
Adding docutils==0.9.1 to the test-requirements.txt
in order to solve this issue.
The docutils==0.9.1 is on the common OpenStack dependency list.
Several doc creation warning and error also fixed by this change.
Change-Id: Icb412876f5a989e6b8aa4886f2a246127a76521a
This is a first bit of experiment to get a doc tree for tempest
that will publish our doc content to the web as part of a larger
QA doc guide.
Update some of the base READMEs to be a little more accurate,
now that we're going to be pushing them to the web.
Added tox [venv] to ensure that docs get built
Change-Id: Id54e8fbc1d884525087630106e17b37dc1206cc9
Cleans up a bunch of configuration-related errors
when trying to run tempest out of the box with a
simple call to:
$> nosetests storm
* Raises a sensible error if the config file cannot be found
* Makes it possible to set the config file directory and
config file name via environment variables
* Removes unnecessary calls to create storm.config.StormConfig()
and share a configuration object by passing the openstack.Manager's
config object with the various rest client objects
* Updates the README to show how to make a config file and run
the tests in tempest
Change-Id: I60e33595b88df596cc9585bcaf18d37ae77d6f2b