Test coverage document generator

Cirley Salazar Florez November 25, 2024

I need to create a template that includes the amount and states associated with a user story through test coverage. I have been working on the following template:

TestRunStatus: ${set(totalPassedCount,0)} #{for j=LinksCount} #{if (%{'${Links[j].LinkType}'.equals('is tested by') && '${Links[j].IssueTypeName}'.equals('Test')})} #{if (%{'${Links[j].TestStatus}’.equals(‘PASSED’)})} ${set(totalPassedCount,%{${totalPassedCount} + 1})} #{end} #{end} #{end} ${totalPassedCount}

Passed: ${set(totalPassedCount,0)} #{for j=LinksCount} #{if (%{'${Links[j].LinkType}'.equals('Test Coverage') })} #{if (%{'${Links[j].TestStatus}’.equals(‘PASSED’)})} ${set(totalPassedCount,%{${totalPassedCount} + 1})} #{end} #{end} #{end} ${totalPassedCount}

Xray test coverage2.PNG

Xray test coverage.PNG

Downloading the test coverage is not working.

1 answer

0 votes
Francisco Fonseca _Xray_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2024

Hi @Cirley Salazar Florez ,

I would suggest you get in contact with our support for assistance.

Support Portal: https://jira.getxray.app/servicedesk/customer/portal/2

Nonethless, you can find usefull information that might be of assistance here: https://docs.getxray.app/display/XRAYCLOUD/TTT%3A+Document+Generator+and+Xporter

Best, Francisco

 

Cirley Salazar Florez December 2, 2024

Thank you for your answer, I will review the documentation that you share with me.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events