[Python-Dev] noob contributions to unit tests
Walter Dörwald
walter at livinglogic.de
Thu Mar 28 19:36:05 CET 2013
Am 27.03.2013 um 03:24 schrieb R. David Murray <rdmurray at bitdance.com>:
> On Tue, 26 Mar 2013 16:59:06 -0700, Maciej Fijalkowski <fijall at gmail.com> wrote:
>> On Tue, Mar 26, 2013 at 4:49 PM, Sean Felipe Wolfe <ether.joe at gmail.com> wrote:
>>> Hey everybody how are you all :)
>>>
>>> I am an intermediate-level python coder looking to get help out. I've
>>> been reading over the dev guide about helping increase test coverage
>>> -->
>>> http://docs.python.org/devguide/coverage.html
>>>
>>> And also the third-party code coverage referenced in the devguide page:
>>> http://coverage.livinglogic.de/
>>>
>>> I'm seeing that according to the coverage tool, two of my favorite
>>> libraries, urllib/urllib2, have no unit tests? Is that correct or am I
>>> reading it wrong?
>>>
>>> If that's correct it seems like a great place perhaps for me to cut my
>>> teeth and I would be excited to learn and help out here.
>>>
>>> And of course any thoughts or advice for an aspiring Python
>>> contributor would be appreciated. Of course the dev guide gives me
>>> plenty of good info.
>>>
>>> Thanks!
>>
>> That looks like an error in the coverage report, there are certainly
>> urllib and urllib2 tests in test/test_urllib*
>
> The devguide contains instructions for running coverage yourself,
> and if I recall correctly the 'fullcoverage' recipe does a better
> job than what runs at coverage.livinglogic.de.
The job that produces that output has been broken for some time now, and I haven't found the time to look into it. If someone wants to try, here's the code:
https://pypi.python.org/pypi/pycoco/0.7.2
> […]
Servus,
Walter
More information about the Python-Dev
mailing list