updating readme to reflect new tox test args

Change-Id: I11da26782a83783eb9e0c28bf119058514a8fa26
This commit is contained in:
adrian-turjak 2016-12-07 10:09:30 +13:00
parent 1961ca91c3
commit 2686e009b5

View File

@ -243,13 +243,13 @@ Provided you have tox and its requirements installed running tests is very simpl
``` ```
$ tox $ tox
``` ```
To run a single test: To run just action unit tests:
``` ```
$ virtualenv venv $ tox stacktask.actions
$ source venv/bin/activate ```
$ pip install -r requirements.txt -r test-requirements.txt To run a single api test:
$ python setup.py develop ```
$ stacktask-api test stacktask.api.v1.tests.test_api_taskview.TaskViewTests.test_duplicate_tasks_new_user $ tox stacktask.api.v1.tests.test_api_taskview.TaskViewTests.test_duplicate_tasks_new_user
``` ```
### Adding Actions: ### Adding Actions: