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:
parent
68967725f7
commit
63870298f5
13 changed files with 1339 additions and 1 deletions
|
|
@ -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}'`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue