def generate(self):
self._setup()<EOL>for config_name in self.report_info.config_to_test_names_map.keys():<EOL><INDENT>config_dir = os.path.join(self.report_info.resource_dir, config_name)<EOL>utils.makedirs(config_dir)<EOL>testsuite = self._generate_junit_xml(config_name)<EOL>with open(os.path.join(self.report_info.junit_xml_path, '<STR_LIT>'), '<STR_LIT:w>') as file:<EOL><INDENT>TestSuite.to_file(file, [testsuite], prettyprint=False)<EOL><DEDENT><DEDENT>
Generates the report