When number of files with coverage change is less then total number of files in coverage report, DeltaReporter.per_file_stats throws a "IndexError: list index out of range" exception.
In test case, both coverage files have 3 items. One of the items in new-coverage.xml has coverage change.
When number of files with coverage change is less then total number of files in coverage report,
DeltaReporter.per_file_stats
throws a "IndexError: list index out of range" exception.In test case, both coverage files have 3 items. One of the items in
new-coverage.xml
has coverage change.