Skip to content

Commit

Permalink
Added a tox-test command that runs Flask tests with tox
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Jul 26, 2010
1 parent 2594602 commit c18f032
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ dist
*.egg
*.egg-info
_mailinglist
.tox
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ all: clean-pyc test
test:
python setup.py test

tox-test:
PYTHONDONTWRITEBYTECODE= tox

ext-test:
python tests/flaskext_test.py --browse

Expand Down
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[tox]
envlist=py25,py26,py27

[testenv]
commands=make test

0 comments on commit c18f032

Please sign in to comment.