-
Notifications
You must be signed in to change notification settings - Fork 8
/
types.d.ts
51 lines (45 loc) · 964 Bytes
/
types.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
interface AllureSummaryStatistic {
failed: number
broken: number
skipped: number
passed: number
unknown: number
total: number
}
interface AllureSummaryTime {
start: number
stop: number
duration: number
minDuration: number
maxDuration: number
sumDuration: number
}
type AllureRecordTestResult = 'PASS' | 'FAIL' | 'UNKNOWN'
interface AllureRecord {
timestamp: number
runId: number
runUniqueId: string
testResult: AllureRecordResult
summary: {
statistic: AllureSummaryStatistic
time: AllureSummaryTime
}
}
interface AllureSummaryJson {
reportName: string
testRuns: unknown[]
statistic: AllureSummaryStatistic
time: AllureSummaryTime
}
interface LastRunJson {
runId: number
runTimestamp: number
}
interface AllureExecutor {
type: 'github'
name: string
buildName: string
buildUrl: string
reportUrl: string
buildOrder: number
}