Re: [Twisted-Python] Coverage summary with trial

2012-04-14 Thread Øystein S. Haaland
> On Fri, Apr 13, 2012 at 3:19 PM, Itamar Turner-Trauring > > wrote: > >> Hi all, > >> > >> I would like to collect coverage statistic for my twisted code with > >> trial and > >> was wondering how to achieve this. > >> > >> I run something like: > >> $ trial --coverage testdir/*_test.py

Re: [Twisted-Python] Coverage summary with trial

2012-04-14 Thread Johan Rydberg
coverage.py is great but we also use this: https://github.com/jrydberg/txcovreport Sent from my iPhone On 14 apr 2012, at 06:22, Duncan McGreggor wrote: > On Fri, Apr 13, 2012 at 3:19 PM, Itamar Turner-Trauring > wrote: >>> Hi all, >>> >>> I would like to collect coverage statistic for my tw

Re: [Twisted-Python] Coverage summary with trial

2012-04-13 Thread Duncan McGreggor
On Fri, Apr 13, 2012 at 3:19 PM, Itamar Turner-Trauring wrote: >> Hi all, >> >> I would like to collect coverage statistic for my twisted code with trial >> and >> was wondering how to achieve this. >> >> I run something like: >>       $ trial --coverage testdir/*_test.py > > coverage.py is  a muc

Re: [Twisted-Python] Coverage summary with trial

2012-04-13 Thread Itamar Turner-Trauring
> Hi all, > > I would like to collect coverage statistic for my twisted code with trial > and > was wondering how to achieve this. > > I run something like: > $ trial --coverage testdir/*_test.py coverage.py is a much nicer tool: http://nedbatchelder.com/code/coverage/ You'd do "coverage.p