Skip to content

Commit

Permalink
test: Added local test command
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Aug 28, 2018
1 parent 9ac6fde commit f876bac
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,16 @@ dist:
python setup.py sdist bdist_wheel

.PHONY: dist

.venv:
@virtualenv .venv

test: .venv
@pip install -r test-requirements.txt
@pip install --editable .
@pytest tests
.PHONY: test

tox-test:
@sh ./scripts/runtox.sh
.PHONY: tox-test
7 changes: 7 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
hypothesis==3.69.9
pytest==3.7.3
pytest-xdist==1.23.0
six==1.11.0
tox==3.2.1
Werkzeug==0.14.1
pytest-localserver==0.4.1

0 comments on commit f876bac

Please sign in to comment.