Versions Compared

Key

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

This article aims to explain some Xray Anti-patterns  that can lead to future constrains or even data integrity issues. Please use this information carefully and taking in consideration your own setup and team processes.


UI Expand
titleTable of Contents

Table of Contents



Anti-Pattern Description

:

Tests without Execution executions (i.e., Test Runs) are Test Cases cases that are created but never executed and this can result in misleading Test Coverage and lesser quality of the product.



Solution

:

An effective solution for this relies on improved reporting, end-user education and possibly embracing automation in case the current solution does not have one.


Reporting

You should look for a clear view for managing this anti-pattern, the options are through Xray’s Requirement Traceability Matrix  Matrix  (Document Generator Template Report) or the Traceability Report. For a more tailored approach such as for a Project Lead, we recommend the usage of saved filters in a dashboard. Such as using the JQL below with Jira's Filter Results Gadget.

In case you use Xray Data Center, the JQL option is: 

Code Block
issue in testsWithoutTestExecution() and createdDate < -7d


Should you use Xray Cloud, it is on the verge of receiving a sort of insights tool which will give you notice of  Cloud users can currently obtain information about this anti-pattern and others in a Xray page.Nonetheless, for the moment, it is possible to get this information using Document Generator. using theXray Document Generator.

Snippet code:

Code Block
&{for issues}
#{if (%{'${IssueTypeName}'.equals('Test')})}
#{if (%{'${TestExecutionsCount}'.equals('0')})}
Test without Test Executions Key - ${Key}
#{end}
#{end}
&{end}


Audit and Review

Assure that within your meetings or governance , there's a process for Test Execution Assignment execution assignment as that helps increase accountability for any test Test to be executed as planned.



Learn More

Revisit our Documentation on Test Runs and take advantage of all Xray Features.DC: https://docs.getxray.app/display/XRAY/

+


Xray Academy

The Xray

Cloud: https://docs.getxray.app/display/XRAYCLOUD/Test+Runs

Our Academy offers Xray Essentials for Cloud & Xray Essentials for Data Center Course to help you get familiarized on how to Execute a test and all deriveratives.

Image Removed

schedule and execute a Test.

Figure 1 - Xray AcademyImage Added

Figure 1 - Xray Academy


We In fact we encourage your team to go through all the courses → Xray Academy Xray Academy courses.


Expand
titleSupport/Troubleshooting

If you have questions or technical issues, please contact the Support team via the Customer Portal (Jira service management) or send us a message using the in-app chat.