mirror of
https://github.com/django-components/django-components.git
synced 2025-08-31 03:07:19 +00:00
Document some alternate ways to run the tests
This commit is contained in:
parent
0f52cb845e
commit
4f1a6c1ade
1 changed files with 18 additions and 1 deletions
19
README.md
19
README.md
|
@ -45,9 +45,26 @@ In your templates, use your component by first importing the django_components t
|
|||
|
||||
# Running the tests
|
||||
|
||||
Install and run `tox`:
|
||||
Install `tox`:
|
||||
|
||||
```sh
|
||||
pip install tox
|
||||
```
|
||||
|
||||
Then run all the tests over all Python versions:
|
||||
|
||||
```sh
|
||||
tox
|
||||
```
|
||||
|
||||
Or just the particular version you wish to test:
|
||||
|
||||
```sh
|
||||
tox -e py34
|
||||
```
|
||||
|
||||
You can also have it watch the directory for changes and re-run the tests:
|
||||
|
||||
```sh
|
||||
tox -e py34 -- -f
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue