Invalid formatted test suite result. Exception when opening JUnit xml file in Eclipse
gw4e opened this issue · comments
The XMLReportGenerator creates a TEST-GraphWalker-........xml file at the end of a test execution.
The file is missing the name attribute in the testsuites tag.
This leads to an exception when opening the file in the Eclipse JUnit view.
org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
at org.eclipse.jdt.internal.junit.model.TestRunSession.(TestRunSession.java:148)
at org.eclipse.jdt.internal.junit.model.TestRunHandler.startElement(TestRunHandler.java:125)
Good catch,and thanks for the PR, which I have merged.