test-reporter/__tests__
Hervé Audren a91086638b Gracefully handle empty failure tags
This commit fixes #137. Some JUnit generators emit an empty failure tag,
with only a message property set. In those cases, the parser crashes
when trying to match the failure with a source file. Since this feature
is optional, the simplest fix is to skip the processing when the failure
tag is empty.

Also added a test, and the corresponding input file is generated from a
reporter within our codebase.
2022-11-29 08:45:53 +09:00
..
__outputs__ Update test outputs after #199 2022-11-13 13:19:47 +01:00
__snapshots__ Fix dotnet-trx parser failing on passed tests with non-empty error info 2021-04-20 21:38:55 +02:00
fixtures Gracefully handle empty failure tags 2022-11-29 08:45:53 +09:00
utils #83 - Use non-capturing optional group, add tests and update dist 2021-03-23 21:39:47 +01:00
dart-json.test.ts Handle test reports with no test cases 2021-03-07 12:22:00 +01:00
dotnet-trx.test.ts Fix dotnet-trx parser failing on passed tests with non-empty error info 2021-04-20 21:38:55 +02:00
java-junit.test.ts Gracefully handle empty failure tags 2022-11-29 08:45:53 +09:00
jest-junit.test.ts Gracefully handle empty nested testsuite elements for JUnit. 2022-09-09 16:51:32 +02:00
mocha-json.test.ts Add mocha-json external test fixtures 2021-04-19 23:19:19 +02:00