Created
July 13, 2010 13:08
-
-
Save metafeather/473817 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Relax NG compact schema for Ant created JUnit XML files | |
start = testsuite | testsuites | |
property = element property { | |
attribute name {text}, | |
attribute value {text} | |
} | |
properties = element properties { | |
property* | |
} | |
badtest = element (failure|error) { | |
attribute message {text}, | |
attribute type {text}, | |
text | |
} | |
testcase = element testcase { | |
attribute classname {text}, | |
attribute name {text}, | |
attribute time {text}, | |
attribute status {text} ?, | |
badtest? | |
} | |
testsuite = element testsuite { | |
attribute errors {xsd:integer}, | |
attribute failures {xsd:integer}, | |
attribute hostname {text}?, | |
attribute name {text}, | |
attribute tests {xsd:integer}, | |
attribute time {xsd:double}, | |
attribute timestamp {xsd:dateTime}?, | |
attribute id {text} ?, # junitreport attribute | |
attribute package {text} ?, # junitreport attribute | |
attribute disabled {text} ?, | |
properties ?, | |
testcase*, | |
element system-out {text} ?, | |
element system-err {text} ? | |
} | |
testsuites = element testsuites { | |
attribute * {text} *, | |
testsuite* | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment