2

I need the XSD of junitReport.xml recognized by Hudson.

Does anyone know where can it be found?

Thanks.

mark
  • 59,016
  • 79
  • 296
  • 580

2 Answers2

2

At this link, someone has already tried to analyse the JUnit code to check for any references for it's XML schema. But an XSD is no requirement to create XML and apparently, it doesn't use one.

Wim ten Brink
  • 25,901
  • 20
  • 83
  • 149
0

I've create a junit.xsd for Ant's junit task. It was created by examining the relevant Java code in Ant 1.8.2

Tom Howard
  • 6,516
  • 35
  • 58
  • 1
    JFYI: there is actually a schema available here: [surefire-test-report.xsd](https://github.com/apache/maven-surefire/blob/master/maven-surefire-plugin/src/site/resources/xsd/surefire-test-report.xsd). It comes from a `maven-surefire-plugin`, but AFAIK reports produced by Ant and Maven are identical. – G. Demecki Nov 22 '16 at 11:29