OBJECT

Test

Test issue type

link GraphQL Schema definition

1type Test {
2
3# Issue id of the Test issue.
4issueId: String
5
6# Project id of the Test issue.
7projectId: String
8
9# Test type of the Test issue.
10testType: TestType
11
12# Step definition of the Test issue.
13steps: [Step]
14
15# Unstructured definition of the Test issue.
16unstructured: String
17
18# Gherkin definition of the Test issue.
19gherkin: String
20
21# Test Repository folder of the Test.
22folder: Folder
23
24# Dataset linked to the Test issue.
25dataset: Dataset
26
27# Gherkin type of the Test issue.
28# Possible values: 'scenario' or 'scenario_outline'.
29scenarioType: String
30
31# List of Precondition associated with the Test issue.
32#
33# Arguments
34# issueIds: the ids of the Preconditions.
35# limit: the maximum amount of Preconditions to be returned. The maximum is 100.
36# start: the index of the first item to return in the page of results (page offset).
37preconditions(issueIds: [String], limit: Int!, start: Int): PreconditionResults
38
39# List of Test Sets associated with the Test issue.
40#
41# Arguments
42# issueIds: the issue ids of the Test Sets
43# limit: the maximum amount of Test Sets to be returned. The maximum is 100.
44# start: the index of the first item to return in the page of results (page offset).
45testSets(issueIds: [String], limit: Int!, start: Int): TestSetResults
46
47# List of Test Plans associated with the Test issue.
48#
49# Arguments
50# issueIds: the issue ids of the Test Plans
51# limit: the maximum amount of Test Plans to be returned. The maximum is 100.
52# start: the index of the first item to return in the page of results (page offset).
53testPlans(issueIds: [String], limit: Int!, start: Int): TestPlanResults
54
55# List of Test Executions associated with the Test issue.
56#
57# Arguments
58# issueIds: the issue ids of the Test Executions
59# limit: the maximum amount of Test Executions to be returned. The maximum is 100.
60# start: the index of the first item to return in the page of results (page offset).
61testExecutions(issueIds: [String], limit: Int!, start: Int): TestExecutionResults
62
63# List of Test Runs for the Test issue
64#
65# Arguments
66# limit: the maximum amount of Test Runs to be returned. The maximum is 100.
67# start: the index of the first item to return in the page of results (page offset).
68testRuns(limit: Int!, start: Int): TestRunResults
69
70# List of Xray History results for the issue
71#
72# Arguments
73# limit: the maximum amount of entries to be returned. The maximum is 100.
74# start: the index of the first item to return in the page of results (page offset).
75history(limit: Int!, start: Int): XrayHistoryResults
76
77# List of Test versions of the Test
78#
79# Arguments
80# limit: the maximum amount of Test versions to be returned. The maximum is 100.
81# start: the index of the first item to return in the page of results (page offset).
82# archived: if should include archived Test versions in the result.
83# testTypeId: to filter Test versions by Test Type
84testVersions(limit: Int!, start: Int, archived: Boolean, testTypeId: String): TestVersionResults
85
86# List of Coverable Issues associated with the Test issue
87#
88# Arguments
89# issueIds: the issue ids of the Coverable Issues
90# limit: the maximum amount of Coverable Issues to be returned. The maximum is 100.
91# start: the index of the first item to return in the page of results (page offset).
92coverableIssues(issueIds: [String], limit: Int!, start: Int): CoverableIssueResults
93
94# Extra Jira information of the Test issue.
95#
96# Arguments
97# fields: List of the fields to be displayed.
98# Check the field 'fields' of this Jira endpoint for more information.
99jira(fields: [String]): JSON!
100
101# Status of the Test. This status can be calculated based on latest status, version or Test Plan.
102#
103# Arguments
104# environment: the environment for which to calculate the for status.
105# isFinal: whether the final statuses has precedence over non-final.
106# version: the version name for which to calculate the status for.
107# testPlan: the Test Plan id for which to calculate the status for.
108status(environment: String, isFinal: Boolean, version: String, testPlan: String): TestStatusType
109
110# Date when the test was last modified.
111lastModified: String
112
113}