...
You can print the status of the Test Execution by using the following notation:
% per Status | Number of Tests per Status |
---|---|
${Overall Execution Status.NameOfStatus} | ${Overall Execution Status.NameOfStatus.Count} |
See the real example:
Code Block | ||||
---|---|---|---|---|
| ||||
Todo: ${Overall Execution Status.TODO}% (Overall Execution Status.TODO.Count}) Fail: ${Overall Execution Status.FAIL}% (Overall Execution Status.FAIL.Count}) Pass: ${Overall Execution Status.PASS}% (Overall Execution Status.PASS.Count}) Executing: ${Overall Execution Status.EXECUTING}% (Overall Execution Status.EXECUTING.Count}) Aborted: ${Overall Execution Status.ABORTED}% (Overall Execution Status.ABORTED.Count}) |
...
Code Block | ||||
---|---|---|---|---|
| ||||
#{for testExecutions} Content and Test Mappings. Example: ${TestsTestExecutions[n].Key} #{end} or #{for j=TestExecutionsCount} Content and Test Mappings. Example: ${TestsTestExecutions[j].Summary} #{end} |
n is the index of TestTestExecution, starting from 0. The field TestExecutionsCount was created in order to give the total number of TestsTestExecutions.
Here you can print Jira native data or print Xray specific data such as the list of the Test executed inside of the Test Runs and their status. Learn more.
...