Skip to content

Commit 000969d

Browse files
XonqNoppdnozay
authored andcommitted
[result] provide helpful output about generated xml reports
1 parent 028ad40 commit 000969d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xmlrunner/result.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,8 @@ def generate_reports(self, test_runner):
567567
with open(filename, 'wb') as report_file:
568568
report_file.write(xml_content)
569569

570+
self.stream.writeln('Generated XML report: {}'.format(filename))
571+
570572
if not outputHandledAsString:
571573
# Assume that test_runner.output is a stream
572574
test_runner.output.write(xml_content)

0 commit comments

Comments
 (0)