Issue #235 resolved

Package name is missing in XML report.

schlauch
created an issue

Since 3.6 the package name is missing. I think the problem is the optimization of the package name. See xmlreport.py line 95 (xml_file): - The cu.name is a file path in my case (e.g., src\sample_calculator__init__) - rparition goes wrong => creates an empty string because cu.name has no "." I used coverage.py 3.6 on Windows 7 with Python 2.7.3

In 3.5 os.path.split has been used... However, this has been removed by commit: https://bitbucket.org/ned/coveragepy/commits/6af3ba6d47e49420662c5e9f2d37f0f479ae6949

Comments (15)

  1. schlauch reporter

    I attached a small project which illustrates the problem. It also contains the coverage XML reports which I created with version 3.5.3 and 3.6.: The problem is the name attribute in the package tag.

    For more information see the README.txt.

  2. Log in to comment