mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-04 04:05:22 -08:00
Merge branch 'main' into mocha-json
This commit is contained in:
@@ -62,6 +62,10 @@ export class DotnetTrxParser implements TestParser {
|
||||
}
|
||||
|
||||
private getTestClasses(trx: TrxReport): TestClass[] {
|
||||
if (trx.TestRun.TestDefinitions === undefined || trx.TestRun.Results === undefined) {
|
||||
return []
|
||||
}
|
||||
|
||||
const unitTests: {[id: string]: TestMethod} = {}
|
||||
for (const td of trx.TestRun.TestDefinitions) {
|
||||
for (const ut of td.UnitTest) {
|
||||
|
||||
@@ -4,8 +4,8 @@ export interface TrxReport {
|
||||
|
||||
export interface TestRun {
|
||||
Times: Times[]
|
||||
Results: Results[]
|
||||
TestDefinitions: TestDefinitions[]
|
||||
Results?: Results[]
|
||||
TestDefinitions?: TestDefinitions[]
|
||||
}
|
||||
|
||||
export interface Times {
|
||||
|
||||
Reference in New Issue
Block a user