diff --git a/config.json b/config.json new file mode 100755 index 00000000..a35545e5 --- /dev/null +++ b/config.json @@ -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" + ] + } +} diff --git a/doc/refstack.md b/doc/refstack.md index 6cd4c5d2..e1161f91 100755 --- a/doc/refstack.md +++ b/doc/refstack.md @@ -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 diff --git a/test-requirements.txt b/test-requirements.txt index e85aaea5..f897c0c5 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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