Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-7037

Users must be able to import data-driven test results using the Xray JSON format

    XporterXMLWordPrintable

Details

    • NOK

    Description

      Users must be able to import data-driven test results using the Xray JSON format.

      Multiple executions of the same test can be viewed within a single Test Run.

      The following JSON is a proposal of how the Xray format could support multiple iterations.

      {
          "info" : {
              "summary" : "Execution of automated tests for release v1.3",
              { ... }
          },
          "tests" : [
              {
                  "testKey" : "DEMO-6",
                  "start" : "2014-08-30T11:47:35+01:00",
                  "finish" : "2014-08-30T11:50:56+01:00",
                  "comment" : "Successful execution",
                  "status" : "PASSED"
              },
              {
                  "testKey" : "DEMO-7",
                  "start" : "2014-08-30T11:51:00+01:00",
                  "finish" : "2014-08-30T11:52:30+01:00",
                  "comment" : "Execution failed. Iteration #5 FAIL.",
                  "status" : "FAILED",
                  "evidences" : [
                      { ... }
                  ],
                  "defects" : [
                      { ... }
                  ],
                  "iterations": [
                      {
                          "name": "Iteration 1",
                          "parameters": [
                              {
                                  "name": "user",
                                  "value": "bmpc"
                              },
                              {
                                  "name": "email",
                                  "value": "bmpc@xpand-it.com"
                              }
                          ],
                          "steps": [
                              {
                                  "status": "PASSED",
                                  "actualResult" : "Step Passed with Status Code 200",
                                  "comment": "Comment on Test Step Result 1",
                                  "evidences" : [
                                      { ... }
                                  ],
                                  "defects" : [
                                      { ... }      
                                  ]
                              },
                              { ... }
                          ],
                          "status": "PASSED"
                      },
                      { ... }
                  ]
              }
          ]
      }
      

      Attachments

        Issue Links

          Activity

            People

              dpca Diamantino Campos
              bmpc Bruno Conde
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: