1
0
Fork 0
mirror of https://github.com/dorny/test-reporter.git synced 2026-05-07 11:07:35 +02:00

Create tester-junit reporter for Nette Tester tool

This commit is contained in:
Jozef Izso 2026-01-01 18:29:37 +01:00
parent 68967725f7
commit 63870298f5
Failed to extract signature
13 changed files with 1339 additions and 1 deletions

View file

@ -21,6 +21,7 @@ import {PhpunitJunitParser} from './parsers/phpunit-junit/phpunit-junit-parser'
import {PythonXunitParser} from './parsers/python-xunit/python-xunit-parser'
import {RspecJsonParser} from './parsers/rspec-json/rspec-json-parser'
import {SwiftXunitParser} from './parsers/swift-xunit/swift-xunit-parser'
import {NetteTesterJunitParser} from './parsers/tester-junit/tester-junit-parser'
import {normalizeDirPath, normalizeFilePath} from './utils/path-utils'
import {getCheckRunContext} from './utils/github-utils'
@ -280,6 +281,8 @@ class TestReporter {
return new RspecJsonParser(options)
case 'swift-xunit':
return new SwiftXunitParser(options)
case 'tester-junit':
return new NetteTesterJunitParser(options)
default:
throw new Error(`Input variable 'reporter' is set to invalid value '${reporter}'`)
}