Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Besides this, Xray also provides specific integrations for Cucumber, Behave, xUnit, Robot, Xamarin, and other frameworks.

Gliffy Diagram
nameintegration_with_automation_frameworks_new Copy aug2019 Copy
pagePin21

Table of Contents

Summary of features per framework

...

The Xray JSON format is more generic and its capabilities, if used for importing, are different.



Robot framework

JUnit 4

TestNG

NUnit 2.6/3.x

XUnit 2CucumberXray JSON

Abstract automated test as a Test

(map an automated test to a Test issue in Jira)

Yes

(as a Generic Test)

Yes

(as a Generic Test)

Yes

(as a Generic Test)

Yes

(as a Generic Test)

Yes

(as a Generic Test)

Yes

(as a Cucumber Test)

No

(Tests must exist beforehand)

Make Test specification in Jira

(specify the Test itself in Jira)


NoNoNoNoNoYesYes

Create Tests from results

(create Tests whenever importing results)

Yes

Yes

Yes

Yes

Yes

No*

(but there is and endpoint for importing Cucumber features, which will create Tests for the respective Scenarios/Scenario Outlines)

No

Uniquely identify Tests

(identify existing Tests whenever importing results, avoiding duplication of Test issues)

Yes

Yes

Yes

Yes

YesYes

Yes*

(based on the provided Test issue keys)

Import results

(importing results by REST API or UI)

Yes

Yes

Yes

Yes

YesYesYes

Import “labels”

(create labels in the Test issues)

Yes

(labels may be specified in the test's source code)

No

Yes

(labels may be specified in the test's source code)

Yes

(labels may be specified in the test's source code)

Yes

(labels may be specified in the test's source code)

Yes*

(this is only available when using the endpoint for importing Cucumber features; it's not possible when importing results)

No

Automatic linking to requirements

(create links to requirements)

Yes

(requirement's issue key may be specified in the test's source code)

No

Yes

(requirement's issue key may be specified in the test's source code)

Yes

(requirement's issue key may be specified in the test's source code)

Yes

(requirement's issue key may be specified in the test's source code)

Yes*

(this is only available when using the endpoint for importing Cucumber features; it's not possible when importing results)

No

Semantic on the results

(present advanced execution details in the execution screen)

Yes

(keyword “steps”)

No

(just the overall run result and any exception message)

Yes

(for every "test" section in the XML config file and parameterized Tests)

Yes

(Test Suites and parameterized Tests)

Yes

(parameterized Tests)

Yes

(steps for Scenario/Scenario Outline and Background)

Yes*

(semantic is implicit because the Test must be created beforehand)

Import attachments

(e.g. screenshots)

NoNoNoNoNo

Yes

(per each Gherkin statement)

Yes

(at Test Run and at Test Run step levels; the latter only if Manual test type)