Upgrade Notes
Upgrading Xray to 5
Downgrading from Xray 5
Release highlights
New Xray JSON format capabilities
When importing execution results using the Xray JSON format, you can create tests automatically by providing a testInfo element along with the test specification. Xray will only create the tests once since consequent imports of the same report will reuse the same test issues and generate new executions for the results. Manual and BDD tests are matched by summary and Generic tests by the generic definition within the same project.
Xray brings you the ability to import data-driven test results into manual tests. A dataset within the execution will automatically be created based on the iterations that are being imported.
Learn more about this feature here.
JUnit extension
We have created an extension for JUnit in order to provide much-needed information to Xray when importing execution results such as:
- tracking started and finished date timestamps for each test
- linking a test method to an existing Test issue or use auto-provisioning
- covering a "requirement" (i.e. an issue in Jira) from a test method
- specifying additional fields for the auto-provisioned Test issues (e.g. summary, description, labels)
- attaching screenshots or any other file as evidence to the Test Run, right from within the test method
- adding comments on the Test Run, right from within the test method
- setting the values for Test Run custom fields, right from within the test method
You can find the extension on our Github page with instructions on how to install and use it.
Learn more here.
The actual results field will now be included when creating defects
When creating defects for manual tests, Xray will now include the actual results field on the defect issue description as a new column for each step.
This will include any embedded images within the actual results field.
Learn more here.
Dataset improvements
Xray is now able to export existing datasets into CSV. This will allow you to edit the datasets outside of Jira and import them back again.
You can also change the order of parameters within a dataset.
The default size for the parameter values has increased to 100 chars. You can configure this size through the Xray global settings up to a maximum of 255 chars.
Learn more about parameterized tests here.
And more...
UI/UX Improvements
- XRAY-7871: UI Improvements to Web panel toolbars
- XRAY-7876: As a user, I can create a new Test Execution issue for a given requirement issue
REST API
- XRAY-7480: Export Execution Results - REST API should include Test Run Custom Fields results
- XRAY-7868: As a REST API user, I can export the dataset associated with a test in a given context
BDD
- XRAY-2528: Xray must support multiple examples tables for Cucumber Scenario outline Tests
All New Features and Bug Fixes in this release