[Reproducible-commits] [reprotest] 02/02: Get basic usage of pytest-cov working
Ceridwen
ceridwen-guest at moszumanska.debian.org
Tue Aug 23 15:12:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
ceridwen-guest pushed a commit to branch variations
in repository reprotest.
commit 911640c0ca0e40612b1474da7208b46aae3606b0
Author: Ceridwen <ceridwenv at gmail.com>
Date: Tue Aug 23 11:00:40 2016 -0400
Get basic usage of pytest-cov working
---
tox.ini | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/tox.ini b/tox.ini
index 340b8fa..212016f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
-# envlist = coverage-clean, py35, coverage-stats
-envlist = py35
+envlist = coverage-clean, py35, coverage-stats
+# envlist = py35
skip_missing_interpreters = true
[testenv:coverage-clean]
@@ -10,7 +10,7 @@ commands = coverage erase
[testenv:coverage-stats]
skip_install = True
commands =
- coverage combine
+ coverage combine --append
coverage report
coverage html
@@ -20,8 +20,10 @@ deps =
coverage
# coverage_pth
diffoscope
-# pytest-cov
+ pytest-cov
pytest
-# commands = py.test --cov-report html --cov=reprotest tests/tests.py
-commands = coverage run --omit .tox/* --parallel -m py.test {posargs} tests/tests.py
+# commands = coverage run --omit .tox/* --parallel -m py.test {posargs} tests/tests.py
+# commands = coverage run --parallel -m py.test {posargs} tests/tests.py
+commands = coverage run --source=reprotest/ --parallel -m py.test {posargs} tests/tests.py
# commands = py.test {posargs} tests/tests.py
+# commands = py.test --cov --cov-report=term-missing {posargs} tests/tests.py
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git
More information about the Reproducible-commits
mailing list