On ke, 2008-04-02 at 11:23 -0600, j vickroy wrote:
> Could someone offer a suggestion on how to combine coverage analysis 
> with py.test.

Use the '-x' option to coverage.py to run py.test, then '-rm' to view
the results. I use about the following shell script; additionally I find
some grepping of the second command useful.

#!/bin/sh
coverage.py -x $(which py.test) "$@" || exit 1
coverage.py -rm -o /usr,/var
rm -f .coverage

-- 
Osmo Salomaa <[EMAIL PROTECTED]>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to