Page History
...
testKey | The test issue key |
testInfo | The testInfo element (link) |
start | The start date for the test run |
finish | The finish date for the test run |
comment | The comment for the test run |
executedBy | The user id who executed the test run |
assignee | The user id for the assignee of the test run |
status | The test run status (PASSEDPASS, FAILEDFAIL, EXECUTING, TODO, custom statuses ...) |
steps | The step results (link) |
examples | The example results for BDD tests (link) |
iterations | The iteration containing data-driven test results (link) |
defects | An array of defect issue keys to associate with the test run |
evidence | An array of evidence items of the test run (link) |
customFields | An array of custom fields for the test run (link) |
...
name | The iteration name |
parameters | An array of parameters along with their values (link) |
status | The status for the iteration (PASSEDPASS, FAILEDFAIL, EXECUTING, TODO, custom statuses ...) |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "$id": "XraySchema", "type": "object", "properties": { "testExecutionKey": { "type": "string" }, "info": { "type": "object", "properties": { "project": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "version": { "type": "string" }, "revision": { "type": "string" }, "user": { "type": "string" }, "startDate": { "type": "string", "format": "date-time" }, "finishDate": { "type": "string", "format": "date-time" }, "testPlanKey": { "type": "string" }, "testEnvironments": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "tests": { "type": "array", "items": { "$ref": "#/definitions/Test" }, "minItems": 1, } }, "additionalProperties": false, "definitions": { "Test": { "type": "object", "properties": { "testKey": { "type": "string" }, "testInfo": { "$ref": "#/definitions/TestInfo" }, "start": { "type": "string", "format": "date-time" }, "finish": { "type": "string", "format": "date-time" }, "comment": { "type": "string" }, "executedBy": { "type": "string" }, "assignee": { "type": "string" }, "status": { "type": "string" }, "steps": { "type": "array", "items": { "$ref": "#/definitions/ManualTestStepResult" } }, "examples": { "type": "array", "items": { "type": "string", "enum": ["TODO", "FAILEDFAIL", "PASSEDPASS", "EXECUTING"] } }, "iterations": { "type": "array", "items": { "$ref": "#/definitions/IterationResult" } }, "defects": { "type": "array", "items": { "type": "string" } }, "evidence": { "type": "array", "items": { "$ref": "#/definitions/EvidenceItem" } }, "evidences": { // DEPRECATED "type": "array", "items": { "$ref": "#/definitions/EvidenceItem" } }, "customFields": { "$ref": "#/definitions/CustomField" } }, "required": ["status"], "dependencies": { "evidence": { "not": { "required": ["evidences"] } }, "evidences": { "not": { "required": ["evidence"] } }, "steps": { "allOf": [ { "not": { "required": ["examples"] } }, { "not": { "required": ["iterations"] } } ] }, "examples": { "allOf": [ { "not": { "required": ["steps"] } }, { "not": { "required": ["iterations"] } } ] }, "iterations": { "allOf": [ { "not": { "required": ["steps"] } }, { "not": { "required": ["examples"] } } ] } }, "additionalProperties": false }, "IterationResult": { "type": "object", "properties": { "parameters": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "value": { "type": "string" } }, "additionalProperties": false } }, "status": { "type": "string" }, "steps": { "type": "array", "items": { "$ref": "#/definitions/ManualTestStepResult" } } }, "required": ["status"], "additionalProperties": false }, "ManualTestStepResult": { "type": "object", "properties": { "status": { "type": "string" }, "comment": { "type": "string" }, "evidences": { "type": "array", "items": { "$ref": "#/definitions/EvidenceItem" } }, "defects": { "type": "array", "items": { "type": "string" } }, "actualResult": { "type": "string" } }, "required": ["status"], "additionalProperties": false }, "TestInfo": { "type": "object", "properties": { "summary": { "type": "string" }, "description": { "type": "string" }, "projectKey": { "type": "string" }, "requirementKeys": { "type": "array", "items": { "type": "string" } }, "labels": { "type": "array", "items": { "type": "string" } }, "testType": { "type": "string" }, steps: { type: "array", items: { type: "object", properties: { action: { type: "string" }, data: { type: "string" }, result: { type: "string" } }, required: ["action"], additionalProperties: false } }, "scenario": { "type": "string" }, "scenarioType": { "type": "string" }, "definition": { "type": "string" } }, "dependencies": { "steps": { "allOf": [ { "not": { "required": ["scenario"] } }, { "not": { "required": ["definition"] } } ] }, "scenario": { "allOf": [ { "not": { "required": ["steps"] } }, { "not": { "required": ["definition"] } } ] }, "definition": { "allOf": [ { "not": { "required": ["steps"] } }, { "not": { "required": ["scenario"] } } ] } }, "required": ["summary", "projectKey", "testType"], "additionalProperties": false }, "EvidenceItem": { "type": "object", "properties": { "data": { "type": "string" }, "filename": { "type": "string" }, "contentType": { "type": "string" } }, "required": ["data", "filename"], "additionalProperties": false }, "CustomField": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "value": {} }, "required": ["id", "value"], "additionalProperties": false } } } } |
...