Add dotnet-trx support (no annotations yet)

This commit is contained in:
Michal Dorner 2021-01-11 17:48:33 +01:00
parent 6482e393f9
commit b28f91cc2e
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
7 changed files with 247 additions and 4 deletions

View file

@ -50,7 +50,7 @@ export class TestSuiteResult {
}
export class TestGroupResult {
constructor(readonly name: string | undefined, readonly tests: TestCaseResult[]) {}
constructor(readonly name: string | undefined | null, readonly tests: TestCaseResult[]) {}
get passed(): number {
return this.tests.reduce((sum, t) => (t.result === 'success' ? sum + 1 : sum), 0)