Skip to content

Commit

Permalink
Merge pull request #132 from Kinto/tests-once-runs-functional
Browse files Browse the repository at this point in the history
make tests-once now calculate coverage correcty.
  • Loading branch information
leplatrem committed May 10, 2017
2 parents bd5d444 + bdae5de commit b4039f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ This document describes changes between each past release.
- Fix retry behaviour when responses are successful (fixes #129)
- Fix Retry-After value to be read as integer rather than string. (#131)

**Internal changes**

- ``make tests-once`` to run functional tests in order to calculate coverage correctly (#131)


7.2.0 (2017-03-17)
==================
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ INSTALL_STAMP = $(VENV)/.install.stamp
TEMPDIR := $(shell mktemp -d)

.IGNORE: clean distclean maintainer-clean
.PHONY: all install virtualenv tests
.PHONY: all install virtualenv tests tests-once

OBJECTS = .venv .coverage

Expand All @@ -33,8 +33,8 @@ runkinto: install-dev
$(VENV)/bin/kinto migrate --ini kinto_http/tests/config/kinto.ini
$(VENV)/bin/kinto start --ini kinto_http/tests/config/kinto.ini

tests-once: install-dev
$(VENV)/bin/py.test --cov-report term-missing --cov-fail-under 100 --cov kinto_http
tests-once: install-dev need-kinto-running
$(VENV)/bin/py.test kinto_http/tests/functional.py kinto_http/tests --cov-report term-missing --cov-fail-under 100 --cov kinto_http

functional: install-dev need-kinto-running
$(VENV)/bin/py.test kinto_http/tests/functional.py
Expand Down

0 comments on commit b4039f0

Please sign in to comment.