Re: coverage.py: "Statement coverage is the weakest measure of code coverage"

2007-10-30 Thread Ned Batchelder
I don't know how to extend coverage.py to do more extensive checking, but I know it would be both difficult and fascinating. To help spur some thought, I've sketched out some problems with statement coverage: http://nedbatchelder.com/blog/20071030T084100.html --Ned. On Oct 28, 6:56 pm, Ben Finne

Re: coverage.py: "Statement coverage is the weakest measure of code coverage"

2007-10-29 Thread John Roth
On Oct 28, 9:15 pm, Ben Finney <[EMAIL PROTECTED]> wrote: > Kay Schluehr <[EMAIL PROTECTED]> writes: > > I used to write once a coverage tool ( maybe I can factor this out > > of my tool suite some time ) > > That'd be wonderful. I'd like to see comparisons between different > test-coverage tools,

Re: coverage.py: "Statement coverage is the weakest measure of code coverage"

2007-10-28 Thread Kay Schluehr
On Oct 29, 4:15 am, Ben Finney <[EMAIL PROTECTED]> wrote: > Kay Schluehr <[EMAIL PROTECTED]> writes: > > I used to write once a coverage tool ( maybe I can factor this out > > of my tool suite some time ) > > That'd be wonderful. I'd like to see comparisons between different > test-coverage tools,

Re: coverage.py: "Statement coverage is the weakest measure of code coverage"

2007-10-28 Thread Ben Finney
Kay Schluehr <[EMAIL PROTECTED]> writes: > I used to write once a coverage tool ( maybe I can factor this out > of my tool suite some time ) That'd be wonderful. I'd like to see comparisons between different test-coverage tools, just as we have the different but comparable 'pyflakes' and 'pylint'

Re: coverage.py: "Statement coverage is the weakest measure of code coverage"

2007-10-28 Thread Kay Schluehr
On Oct 28, 11:56 pm, Ben Finney <[EMAIL PROTECTED]> wrote: > Howdy all, > > Ned Batchelder has been maintaining the nice simple tool 'coverage.py' > http://nedbatchelder.com/code/modules/coverage.html> for > measuring unit test coverage. > > On the same site, Ned includes documentation > http://ned

Re: coverage.py: "Statement coverage is the weakest measure of code coverage"

2007-10-28 Thread Ben Finney
John Roth <[EMAIL PROTECTED]> writes: > On Oct 28, 4:56 pm, Ben Finney <[EMAIL PROTECTED]> wrote: > > What approach could we take to improve 'coverage.py' such that it > > *can* instrument and report on all branches within the written > > code module, including those hidden inside multi-part state

Re: coverage.py: "Statement coverage is the weakest measure of code coverage"

2007-10-28 Thread John Roth
On Oct 28, 4:56 pm, Ben Finney <[EMAIL PROTECTED]> wrote: > Howdy all, > > Ned Batchelder has been maintaining the nice simple tool 'coverage.py' > http://nedbatchelder.com/code/modules/coverage.html> for > measuring unit test coverage. > > On the same site, Ned includes documentation > http://nedb

coverage.py: "Statement coverage is the weakest measure of code coverage"

2007-10-28 Thread Ben Finney
Howdy all, Ned Batchelder has been maintaining the nice simple tool 'coverage.py' http://nedbatchelder.com/code/modules/coverage.html> for measuring unit test coverage. On the same site, Ned includes documentation http://nedbatchelder.com/code/modules/rees-coverage.html> by the previous author, G