This collection of resources is intended to support development efforts for the test frameworks supported by test-parser.
-
Cucumber:
Cucumber was created several years before the JSON Schema standard started gaining traction. The lack of formal schema led to inconsistencies between different Cucumber implementations and releases. The cucumber-json-converter project offers the best reference schema:
-
JUnit:
Several attempts have been made to nail down JUnit's schema:
- Schema: https://github.com/windyroad/JUnit-Schema/blob/master/JUnit.xsd - referenced by IBM's outline for JUnit schema
- Schema: https://github.com/junit-team/junit5/blob/main/platform-tests/src/test/resources/jenkins-junit.xsd - referenced by github issue junit-team/2625
- Overview with examples: https://github.com/testmoapp/junitxml
-
Mocha:
- Mocha reporter: https://mochajs.org/#json
- Mochawesome reporter: https://github.com/mochajs/mocha/blob/master/lib/reporters/json.js
-
MSTest:
- The XSD schema for MSTest is installed with Visual Studio at
%Program Files%\Microsoft Visual Studio\<version>\Xml\Schemas\vstst.xd
- The XSD schema for MSTest is installed with Visual Studio at
-
NUnit:
- NUnit v2 schema: https://nunit.org/files/testresult_schema_25.txt
- NUnit v3 documentation: https://docs.nunit.org/articles/nunit/technical-notes/usage/Test-Result-XML-Format.html
-
TestNG:
-
xUnit:
- xUnit v2+ schema: https://xunit.net/docs/format-xml-v2