Add support for java-junit

This commit is contained in:
Michal Dorner
2021-03-07 22:06:12 +01:00
parent 4129c2a0bf
commit 16adfe9b7e
16 changed files with 14390 additions and 5 deletions

View File

@@ -12,6 +12,7 @@ import {getReport} from './report/get-report'
import {DartJsonParser} from './parsers/dart-json/dart-json-parser'
import {DotnetTrxParser} from './parsers/dotnet-trx/dotnet-trx-parser'
import {JavaJunitParser} from './parsers/java-junit/java-junit-parser'
import {JestJunitParser} from './parsers/jest-junit/jest-junit-parser'
import {normalizeDirPath} from './utils/path-utils'
@@ -184,6 +185,8 @@ class TestReporter {
return new DotnetTrxParser(options)
case 'flutter-json':
return new DartJsonParser(options, 'flutter')
case 'java-junit':
return new JavaJunitParser(options)
case 'jest-junit':
return new JestJunitParser(options)
default: