From b07cfed841c83498a2c8c9153367525f725cd100 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 11 Jan 2009 22:39:40 +0000 Subject: - Tests can be run with coverage output if you've got ``nose`` installed in the interpreter which you use to run tests. Using an interpreter with ``nose`` installed, do ``python setup.py nosetests`` within a checkout of the ``repoze.bfg`` package to see test coverage output. --- setup.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 9e9ffa974..9a12e4044 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,10 @@ [easy_install] index_url = http://dist.repoze.org/lemonade/dev/simple + +[nosetests] +match=^test +nocapture=1 +cover-package=repoze.bfg +with-coverage=1 +cover-erase=1 + -- cgit v1.2.3