Skip to content

Commit

Permalink
Add Makefile and pytest-cov for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Knupp committed Jan 26, 2014
1 parent e71cc55 commit 3d0975a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.PHONY: docs release clean build

clean:
rm -rf bull_env htmlcov

build:
virtualenv bull_env && source bull_env/bin/activate && \
pip install -r requirements.txt

test: clean build
source bull_env/bin/activate && \
coverage run --source=bull setup.py test && \
coverage html && \
coverage report
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ stripe==1.11.0
Flask-WTF==0.9.4
Flask-Bcrypt==0.5.2
Flask-Login==0.2.9
pytest-cov==1.6

0 comments on commit 3d0975a

Please sign in to comment.