Permalink
Browse files

Added a tox-test command that runs Flask tests with tox

  • Loading branch information...
1 parent 2594602 commit c18f032a822fa6db560c440d7faa7c615826aa30 @mitsuhiko mitsuhiko committed Jul 26, 2010
Showing with 9 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +3 −0 Makefile
  3. +5 −0 tox.ini
View
1 .gitignore
@@ -7,3 +7,4 @@ dist
*.egg
*.egg-info
_mailinglist
+.tox
View
3 Makefile
@@ -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
View
5 tox.ini
@@ -0,0 +1,5 @@
+[tox]
+envlist=py25,py26,py27
+
+[testenv]
+commands=make test

0 comments on commit c18f032

Please sign in to comment.