XML report does not include <sources> and cannot be used in all places

Issue #181 duplicate
Former user created an issue

We are using the Jenkins Cobertura plugin to report coverage produced from coverage.py xml. The file format is mostly there and coverage and graphs appear. However the drill down to code is not there because there is no <sources> section at the top of the file. For reference the following section was produced by cobertura:


Can <sources> be added to the report?

Comments (2)

  1. Karl Palsson

    I was seeing this too, but it wasn't immediately obvious what the problem was. Running nosetests --with-coverage --cover-xml --cover-xml-file=blah.xml, I got a format that had different filenames than when doing "nostests --with-coverage && coverage xml"

    One of them works in jenkins, one of them doesn't.

  2. Log in to comment