private void writeTestsuite(String indent, Writer writer, Test test, Map<Test, MarathonTestResult> testOutputMap) throws IOException {
if (test instanceof TestSuite) {
TestSuite suite = (TestSuite) test;
writer.write(indent + "<!-- Testsuite name: '" + suite.getName() + "' - START -->\n");
Enumeration<Test> testsEnum = suite.tests();
while (testsEnum.hasMoreElements()) {
writeTestsuite(indent + " ", writer, (Test) testsEnum.nextElement(), testOutputMap);
}
writer.write(indent + "<!-- Testsuite name: '" + suite.getName() + "' - END -->\n");
} else {