OpenStack Database As A Service (Trove)
Go to file
2015-11-02 12:46:23 +00:00
apidocs Merge "Word spellings have been corrected" 2015-09-18 15:52:14 +00:00
contrib
devstack Merge "Enable all trove services by default" 2015-09-11 21:46:59 +00:00
doc Fix the bug of "Error spelling of 'AMPQ'" 2015-10-13 16:47:27 +00:00
etc Merge "Changes names of some quota values" 2015-10-27 20:46:16 +00:00
tools
trove Merge "Adding more doc strings to event simulator" 2015-11-02 12:46:23 +00:00
.coveragerc
.gitignore Add .eggs/ to .gitignore 2015-10-15 14:45:03 +00:00
.gitreview
.testr.conf
babel.cfg
CONTRIBUTING.rst
doc-test.conf
generate_examples.py
LICENSE
MANIFEST.in
README.rst
requirements.txt Updated from global requirements 2015-10-21 13:28:13 +00:00
run_tests.py
run_tests.sh
setup.cfg Open Mitaka Development 2015-09-23 16:27:25 -07:00
setup.py Updated from global requirements 2015-09-23 14:14:17 +00:00
test-requirements.txt Removing unused dependency: discover 2015-08-28 21:22:34 +02:00
tox.ini oslo.utils 2.6.0 causing tox test to hang 2015-10-15 14:51:54 +00:00

Trove

Trove is Database as a Service for OpenStack.

Usage for integration testing

If you'd like to start up a fake Trove API daemon for integration testing with your own tool, run:

$ ./tools/start-fake-mode.sh

Stop the server with:

$ ./tools/stop-fake-mode.sh

Tests

To run all tests and PEP8, run tox, like so:

$ tox

To run just the tests for Python 2.7, run:

$ tox -epy27

To run just PEP8, run:

$ tox -epep8

To generate a coverage report,run:

$ tox -ecover

(note: on some boxes, the results may not be accurate unless you run it twice)

If you want to run only the tests in one file you can use testtools e.g.

$ python -m testtools.run trove.tests.unittests.python.module.path