diff options
author | Pekelny Ilya <ipekelny@mirantis.com> | 2013-09-16 19:15:12 +0300 |
---|---|---|
committer | Ilya Pekelny <ipekelny@mirantis.com> | 2013-11-26 14:48:32 +0200 |
commit | 8a01dd8e680b33ca8141cbc62f18b15202a229ed (patch) | |
tree | e56cf889c73459a73ec0069c88c6f4697b9eed52 /README.rst | |
parent | 232942278f0cdee7e8d6dd799f4088cec889909b (diff) | |
download | oslo-incubator-8a01dd8e680b33ca8141cbc62f18b15202a229ed.tar.gz |
The ability to run tests at various backend
Added testing functionality for using different db backends. Сurrently
exists ability to define backend-specific tests along with regular
tests. Assuming that the tests will be run under a variety of backend
there exists opportunity to skip backend-specific tests at
inappropriate backends. For the correct functioning of the tests required to
export environment variable with a root access database uri.
Blueprint: tests-given-db-backend
Change-Id: Ic5d3cfe8764b3c04affe79088473255c17535e54
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -29,3 +29,9 @@ To run tests in the current environment: sudo pip install -r requirements.txt nosetests + +To run tests using MySQL or PostgreSQL as a DB backend do: + + OS_TEST_DBAPI_ADMIN_CONNECTION=mysql://user:password@host/database tox -e py27 + +Note, that your DB user must have permissions to create and drop databases. |