[TIP] display source code in cobertura

Olemis Lang olemis at gmail.com
Wed Sep 15 11:45:25 PDT 2010


On Tue, Sep 14, 2010 at 7:14 AM, Ned Batchelder <ned at nedbatchelder.com> wrote:
>  On 9/14/2010 5:49 AM, Ralph Heinkel wrote:
>>
>> Now we are trying to include the coverage report into hudson via
>> cobertura. It basically works, just the source code of our python
>> modules cannot be seen.
>
> As it happens, I was just struggling with this myself.  I've fiddled with
> the coverage.xml output to try to get the Cobertura plugin to display
> source, but to no avail.  Is it requiring it to be Java code?  I've tried
> digging into the Cobertura source code a little bit, but it was pretty
> daunting to try to figure out what was going on.
>

Are you aware of these details

http://stackoverflow.com/questions/2285672/hudson-source-code-is-unavailable

i.e. seems like somebody could do it somehow and that it's feasible to
include support for that , considering the solution mentioned at the
bottom of that page

;o)

PS: I've not tried myself ...

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:



More information about the testing-in-python mailing list