Add instructions for running tests

This commit is contained in:
William Lachance 2017-11-07 17:28:46 -05:00
Родитель 9d8a95c849
Коммит 663885bc6e
1 изменённых файлов: 15 добавлений и 0 удалений

Просмотреть файл

@ -57,6 +57,21 @@ load_measure_data subcommand. E.g.:
./manage.py load_measure_data linux release main_crashes
```
To run the tests locally is via the shell environment. After running
`make shell`, execute:
```bash
tox
```
By default all tests and linters are run. Often you just want to run a subset
of the python tests. You can do this by adding some arguments to your tox
invocation:
```bash
tox -e tests -- -k tests/test_api.py # run only tests in test_api.py
```
Instructions for deployment
---------------------------