Add instruction to install test requirements.

Add instruction in the refstack.md file to install test
requirements.  Also add a default config.json file.

Change-Id: Ie3a9a5cfc175b0ec8f5e5c57d767bd0af6a2d62e
This commit is contained in:
Catherine Diep 2014-06-12 10:37:23 -07:00
parent 049cee5852
commit 1f69dcb1e9
3 changed files with 21 additions and 3 deletions

16
config.json Executable file
View File

@ -0,0 +1,16 @@
{
"app_address": "127.0.0.1:8000",
"test_mode": "docker",
"tempest_url":
"https://github.com/openstack/tempest/archive/stable/havana.zip",
"tempest_testcases":
{
"testcases":
[
"tempest.api.identity.admin.test_roles"
]
}
}

View File

@ -1,4 +1,4 @@
RefStack Quickstart
Refstack Quickstart
===================
To run refstack for development or to have a gui for running tests behind your firewall.
@ -18,12 +18,15 @@ Install dependencies (on ubuntu 13.x)..
`python setup.py install`
`pip install -r test-requirements.txt`
Update the "app_address" parameter in the config.json file to the correct address of your refstack server.
Setup or update the database
NOTE: you are going to have to modify the db connection string in `alembic.ini` to get this working
PROTIP: if you just want to test this out, use `-n alembic_sqlite` to make a local sqlite db
PROTIP: if you just want to test this out, use `-n alembic_sqlite` to make a local sqlite db
`alembic -n alembic_sqlite upgrade head`
or

View File

@ -1,7 +1,6 @@
pep8==1.4.5
pyflakes>=0.7.2,<0.7.4
flake8==2.0
python-subunit>=0.0.18
testrepository>=0.0.18
testtools>=0.9.34