Skip to content

Commit f876bac

Browse files
committed
test: Added local test command
1 parent 9ac6fde commit f876bac

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,16 @@ dist:
33
python setup.py sdist bdist_wheel
44

55
.PHONY: dist
6+
7+
.venv:
8+
@virtualenv .venv
9+
10+
test: .venv
11+
@pip install -r test-requirements.txt
12+
@pip install --editable .
13+
@pytest tests
14+
.PHONY: test
15+
16+
tox-test:
17+
@sh ./scripts/runtox.sh
18+
.PHONY: tox-test

test-requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
hypothesis==3.69.9
2+
pytest==3.7.3
3+
pytest-xdist==1.23.0
4+
six==1.11.0
5+
tox==3.2.1
6+
Werkzeug==0.14.1
7+
pytest-localserver==0.4.1

0 commit comments

Comments
 (0)