pytest-bdd/Makefile

24 lines
412 B
Makefile

# create virtual environment
PATH := .env/bin:$(PATH)
.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/pytest tests
coverage report -m
test: develop
tox
coveralls: coverage
coveralls
# clean the development envrironment
clean:
-rm -rf .env