diff --git a/xmlrunner/result.py b/xmlrunner/result.py index a49184f..cfa03b1 100644 --- a/xmlrunner/result.py +++ b/xmlrunner/result.py @@ -567,6 +567,8 @@ def generate_reports(self, test_runner): with open(filename, 'wb') as report_file: report_file.write(xml_content) + self.stream.writeln('Generated XML report: {}'.format(filename)) + if not outputHandledAsString: # Assume that test_runner.output is a stream test_runner.output.write(xml_content)