diff options
| author | Kane Blueriver <kxxoling@gmail.com> | 2015-06-11 18:58:48 +0800 |
|---|---|---|
| committer | Kane Blueriver <kxxoling@gmail.com> | 2015-06-11 18:59:17 +0800 |
| commit | da5d8b0008d69629f089bc50c59cd598ca9f9d0e (patch) | |
| tree | a0cee5d260b37dc7506b497ccce01c89fbc641a0 | |
| parent | 14a02ed689799535e57b8edace40d1a34829003d (diff) | |
| download | python-prettytable-ptable-da5d8b0008d69629f089bc50c59cd598ca9f9d0e.tar.gz | |
Adjust test, coverage command
| -rw-r--r-- | Makefile | 7 | ||||
| -rw-r--r-- | tox.ini | 6 |
2 files changed, 10 insertions, 3 deletions
@@ -1,10 +1,13 @@ .PHONY: all test COVERAGE_DIR = .cover +COVER_PERC = 75 PACKAGE_NAME = prettytable -all: test +all: coverage -test: coverage +test: + @nosetests + @nosetests --with-coverage --cover-min-percentage=$(COVER_PERC) clean: clean-pyc clean-build clean-cover @@ -1,4 +1,8 @@ [tox] envlist = py27,py3 + [testenv] -commands=make test +deps = nose + coverage +commands = make test + |
