pytest-bdd/Makefile

24 lines
413 B
Makefile
Raw Normal View History

2014-07-24 23:38:52 +08:00
# create virtual environment
PATH := .env/bin:$(PATH)
2014-07-24 23:38:52 +08:00
.env:
virtualenv .env
# install all needed for development
develop: .env
.env/bin/pip install -e . -r requirements-testing.txt tox python-coveralls
coverage: develop
coverage run --source=pytest_bdd .env/bin/py.test tests
coverage report -m
test: develop
tox
coveralls: coverage
coveralls
2014-07-24 23:38:52 +08:00
# clean the development envrironment
clean:
-rm -rf .env