From 05eb62eea51a3054e0577c9e30804487d51545f8 Mon Sep 17 00:00:00 2001 From: David Halter Date: Mon, 13 May 2013 12:29:56 +0430 Subject: [PATCH 1/4] use coverage instead of pytest-cov --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index acacf755..cedc4c0a 100644 --- a/tox.ini +++ b/tox.ini @@ -14,4 +14,6 @@ deps = pytest-cov {[testenv]deps} commands = - py.test --cov jedi [] + coverage run --source jedi -m py.test + coverage report + coverage erase From 6b57f7ce489cc26d3801ceeb1e5307066609ede6 Mon Sep 17 00:00:00 2001 From: David Halter Date: Mon, 13 May 2013 12:35:09 +0430 Subject: [PATCH 2/4] remove pytest-cov from tox.ini requirements --- tox.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/tox.ini b/tox.ini index cedc4c0a..7191cb14 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,6 @@ deps = {[testenv]deps} [testenv:cov] deps = - pytest-cov {[testenv]deps} commands = coverage run --source jedi -m py.test From bb27afa19c57259561bc19e6e1052ea6ce5eb011 Mon Sep 17 00:00:00 2001 From: David Halter Date: Mon, 13 May 2013 16:47:46 +0430 Subject: [PATCH 3/4] forgot the coverage dependency when removing the pytest-coverage --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 7191cb14..fd07aa5b 100644 --- a/tox.ini +++ b/tox.ini @@ -11,6 +11,7 @@ deps = {[testenv]deps} [testenv:cov] deps = + coverage {[testenv]deps} commands = coverage run --source jedi -m py.test From b2b8bfc8e3f3c82b24ac9eb418a9ef13daa25830 Mon Sep 17 00:00:00 2001 From: David Halter Date: Mon, 13 May 2013 18:01:52 +0430 Subject: [PATCH 4/4] don't erase coverage data --- tox.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/tox.ini b/tox.ini index fd07aa5b..c4d86518 100644 --- a/tox.ini +++ b/tox.ini @@ -16,4 +16,3 @@ deps = commands = coverage run --source jedi -m py.test coverage report - coverage erase