-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the report specification for the report files in Qase format
- Loading branch information
Showing
4 changed files
with
239 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
type: object | ||
properties: | ||
content: | ||
type: string | ||
nullable: true | ||
file_name: | ||
type: string | ||
nullable: true | ||
file_path: | ||
type: string | ||
nullable: true | ||
mime_type: | ||
type: string | ||
nullable: true | ||
size: | ||
type: number | ||
nullable: true | ||
id: | ||
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
step_type: | ||
type: string | ||
data: | ||
type: object | ||
properties: | ||
action: | ||
type: string | ||
expected_result: | ||
type: string | ||
nullable: true | ||
parent_id: | ||
type: string | ||
nullable: true | ||
execution: | ||
type: object | ||
properties: | ||
status: | ||
type: string | ||
start_time: | ||
type: number | ||
nullable: true | ||
duration: | ||
type: number | ||
nullable: true | ||
end_time: | ||
type: number | ||
nullable: true | ||
attachments: | ||
type: array | ||
items: | ||
$ref: "./attachment.yaml" | ||
steps: | ||
type: array | ||
items: | ||
$ref: "./step.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
type: object | ||
properties: | ||
attachments: | ||
type: array | ||
items: | ||
$ref: "./models/attachment.yaml" | ||
author: | ||
type: string | ||
nullable: true | ||
execution: | ||
type: object | ||
properties: | ||
status: | ||
type: string | ||
start_time: | ||
type: number | ||
nullable: true | ||
end_time: | ||
type: number | ||
nullable: true | ||
duration: | ||
type: number | ||
nullable: true | ||
stacktrace: | ||
type: string | ||
nullable: true | ||
thread: | ||
type: string | ||
nullable: true | ||
fields: | ||
type: array | ||
nullable: true | ||
items: | ||
type: object | ||
properties: | ||
name: | ||
type: string | ||
value: | ||
type: string | ||
nullable: true | ||
id: | ||
type: string | ||
message: | ||
type: string | ||
nullable: true | ||
muted: | ||
type: boolean | ||
params: | ||
type: array | ||
nullable: true | ||
items: | ||
type: object | ||
properties: | ||
name: | ||
type: string | ||
value: | ||
type: string | ||
nullable: true | ||
relations: | ||
type: object | ||
nullable: true | ||
properties: | ||
suite: | ||
type: object | ||
properties: | ||
data: | ||
type: array | ||
items: | ||
type: object | ||
properties: | ||
title: | ||
type: string | ||
public_id: | ||
type: object | ||
properties: | ||
run_id: | ||
type: number | ||
nullable: true | ||
signature: | ||
type: string | ||
nullable: true | ||
steps: | ||
type: array | ||
items: | ||
$ref: "./models/step.yaml" | ||
testops_id: | ||
type: number | ||
nullable: true | ||
title: | ||
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
type: object | ||
properties: | ||
title: | ||
type: string | ||
description: title of the report | ||
execution: | ||
type: object | ||
properties: | ||
start_time: | ||
type: number | ||
description: start time of the report | ||
end_time: | ||
type: number | ||
description: end time of the report | ||
duration: | ||
type: number | ||
description: duration of the report | ||
cumulative_duration: | ||
description: Cumulative duration of all tests in the report | ||
type: number | ||
stats: | ||
type: object | ||
properties: | ||
total: | ||
type: number | ||
description: total number of tests in the report | ||
passed: | ||
type: number | ||
description: number of passed tests in the report | ||
failed: | ||
type: number | ||
description: number of failed tests in the report | ||
skipped: | ||
type: number | ||
description: number of skipped tests in the report | ||
broken: | ||
type: number | ||
description: number of broken tests in the report | ||
muted: | ||
type: number | ||
description: number of muted tests in the report | ||
results: | ||
type: array | ||
description: list of results in the report | ||
items: | ||
type: object | ||
properties: | ||
duration: | ||
type: number | ||
description: duration of the test | ||
id: | ||
type: string | ||
description: id of the test | ||
status: | ||
type: string | ||
description: status of the test | ||
thread: | ||
type: string | ||
nullable: true | ||
description: thread of the test | ||
title: | ||
type: string | ||
description: title of the test | ||
threads: | ||
type: array | ||
description: list of threads in the report | ||
nullable: true | ||
items: | ||
type: string | ||
suites: | ||
type: array | ||
description: list of suites in the report | ||
nullable: true | ||
items: | ||
type: string | ||
environment: | ||
type: string | ||
description: environment of the report | ||
nullable: true | ||
host_data: | ||
type: array | ||
description: list of host data in the report. Like hostname, os, version etc. | ||
items: | ||
type: object | ||
properties: | ||
name: | ||
type: string | ||
description: name of the host data | ||
value: | ||
type: string | ||
description: value of the host data |