gfoidl / trx2junit

Transforms XML from trx-Testresults to JUnit-Testresults / trx to JUnit XML and the other way round
MIT License
70 stars 17 forks source link

Validate test-file against schema to fail early #66

Closed gfoidl closed 4 years ago

gfoidl commented 4 years ago

For context see https://github.com/gfoidl/trx2junit/issues/9#issuecomment-641232785

So instead of hitting Nullref-Exceptions, validate against the schema before parsing and exit with a proper failure-message.

gfoidl commented 4 years ago

Closing as trx-schema is not a "perfect" schema and fails to validate VS-test generated trx-files :wink: