Page History
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 | ||
---|---|---|
| ||
|
Anti-Pattern Description
Tests without executions (i.e., Test Runs) are Test 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 (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 |
Xray Cloud users can currently obtain information about this anti-patternusing the Xray 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 Test 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.
Xray Academy
Our The Xray Academy offers Xray Essentials for Cloud & Xray Essentials for Data Center Course to help you get familiarized on how to schedule and execute a testTest.
Figure 1 - Xray Academy
We In fact we encourage your team to go through all the courses → Xray Academy Xray Academy courses.
Expand | ||
---|---|---|
| ||
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. |