34 Commits

Author SHA1 Message Date
David Paterson
0bf52d497b Fix init command
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
2015-09-23 09:42:07 -04:00
Matthew Treinish
f45ba2e604
Cleanup tempest docs a bit
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
2015-09-02 11:06:44 -04:00
Jenkins
0a7a8e59ad Merge "Update the Tempest README for new run workflow" 2015-08-28 00:49:09 +00:00
Matthew Treinish
828734a120
Update the Tempest README for new run workflow
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
2015-08-24 10:25:54 -04:00
zhangfeng
c53e4e1286 Fix misspelling in the "README.rst"
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
2015-08-21 10:26:26 +00:00
Shuquan Huang
06c632b985 Fix the way to get tempest.conf in README.rst
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
2015-08-05 10:18:39 +00:00
Atsushi SAKAI
0a183b8c6a Fix two typos on tempest documentation
specifing => specifying
secion => section

Change-Id: Ie5c2ddb03586c780e4f338ba9dd2a8adbf824c6e
Closes-Bug: #1478941
2015-07-28 21:53:11 +09:00
Matthew Treinish
3460aaaf3e
Add py34 to readme, pkg metadata, and envlist
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
2015-05-13 10:17:58 -04:00
Matthew Treinish
464d287f5b
Remove CLI testing once and for all
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
2015-05-07 14:17:44 -04:00
Joe H. Rahme
00a7542561 Fixes a typo and adds proper captilization
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
2015-03-16 17:46:24 +01:00
Matthew Treinish
a970d65486 Cleanup the tempest readme
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
2015-03-12 10:03:11 -04:00
Matthew Treinish
d28dd7b7dc Make tempest's python 2.6 policy clear
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
2015-02-24 10:32:36 -05:00
Masayuki Igawa
ac401c7074 Update README.rst for generating sample conf file
Change-Id: Ifff6664242ed7d1b96555eb7fb2d1d26a87b5ffa
2014-11-18 18:45:47 +09:00
Matthew Treinish
3eb7a892d9 Add README section about API stability
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
2014-06-08 17:16:42 -04:00
Matthew Treinish
cd7bf6249f Add branchless tempest section to README.rst
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
2014-06-04 12:14:15 -04:00
Matthew Treinish
077a563bb2 Fix warnings from build_sphinx
This commit fixes a couple of issues with build_sphinx in the tempest
docs.

Change-Id: Id8572455616e9be94a8c5794328eb9c1791db5b3
2014-06-04 11:45:14 -04:00
Matthew Treinish
af37dc9b8b Add a note about python2.6 support to the README
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
2014-02-13 14:35:38 -05:00
Matthew Treinish
a7c7f9f76c Update README.rst with details about unit tests
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
2014-01-13 18:55:10 +00:00
Masayuki Igawa
fd52ac290a Fix the example of testr testing
Closes-Bug: #1263885

By separating the negative tests, the README example has not been valid.
This commit fix this.

Change-Id: I299618bb9da63b47af17efbe4ea226ebf770f86a
2013-12-24 18:20:50 +09:00
Matthew Treinish
6eb0585f70 Improve the UX around sample config generation
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
2013-11-26 15:47:52 +00:00
Sean Dague
a26454d179 Add design principles to docs
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
2013-11-02 09:52:34 -04:00
Matthew Treinish
b17460e89e Update README.rst to use testr instead of nose
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
2013-09-17 17:04:03 +00:00
Attila Fazekas
58d23301ba Fixing man page generation
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
2013-07-24 13:49:14 +02:00
Burt Holzman
5da28f1dbd Change path for "Run one test" example in README.rst
Changed the reference from tempest.tests.compute... to
tempest.api.compute...

Fixes bug #1201039

Change-Id: I1bf925c47e73ecf6558ddb851b8178bd1f37f6f9
2013-07-13 23:42:20 -05:00
Sean Dague
b56052b475 initial seed for tempest doc directory
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
2013-05-22 21:06:55 -04:00
David Ripton
7852c0d299 Remove reference to dead script configure_tempest.sh
The script was removed from devstack in commit 6994296bf64f8
as part of bug #1087203.

Change-Id: I6b920be272ba9ed814e0cbc7fe8eb43a87df2e71
2013-05-03 14:13:15 -04:00
nayna-patel
ddb489cfe5 fix for Bug1078481
Change-Id: I9b730abae07cf52b0ff4fd7b74e91cc4948630f5
2012-11-20 00:09:43 +00:00
Armando Migliaccio
dc7d017038 bug 985867: remove conf_from_devstack in favor of
devstack.git/tools/configure_tempest.sh

remove the broken utility script and update README.

Change-Id: I657e59dba77dd2e0f04d4d3a55f2fc8b430568c2
2012-04-24 21:31:09 +01:00
Daryl Walleck
e36f62369f Intermediate improvement of Tempest quickstart
Change-Id: I55e511b9cbfa2b1a4e5e28479916a0e825d3b7c1
2012-03-11 21:43:38 -05:00
Brian Lamar
930fc5b3c9 Removed storm references from README.rst
Change-Id: I02c1b1faa05d3f8f11679ea03b3ee0e2154d1653
2011-12-08 11:52:03 -05:00
Jay Pipes
7f75763f54 Fixes LP Bug#899383 - Cleanup config file search
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
2011-12-06 13:53:34 -05:00
Dolph Mathews
4556a605e7 Documented availability of 'auth' tag
Change-Id: I06ffd3a9237df881986967376d81d11e9c9f4f98
2011-11-14 10:45:24 -08:00
Soren Hansen
5d40bdb2bb This is not exactly Kong. 2011-08-26 16:09:04 +02:00
Justin Shepherd
0d9bbd1471 Initial Release 2011-08-26 16:08:57 +02:00