Details
-
Bug
-
Status: Waiting Approval
-
Medium
-
Resolution: Unresolved
-
Xray Cloud 16.6.0
-
None
-
None
-
N/A
Description
The "TestRun Progress" column calculates progress as the ratio of completed test steps to total test steps. For Test Runs with steps, this works correctly (ex.: 2 of 5 steps completed = 40%).
For Test Runs with no steps, but whose overall status has been manually set to a final status (ex.: PASSED), the column displays 0%, since it computes 0 of 0 steps. This is incorrect: a Test Run with a final status has, by definition, no remaining work, and should show as complete. The column name "TestRun Progress" does not qualify itself as "step progress", so its value must be internally consistent with what "progress" means for a Test Run as a whole, not just for its steps.
So there are 2 options to resolve this:
- Either the column name is changed to Step Progress, to correctly describe what it is actually measuring, or
- The column's underlying calculation needs to correctly resolve to 100% in cases of Test Runs that have zero test steps, but already have a final status.
As currently implemented, the column and the value it displays are in direct conflict.
Steps to Reproduce:
- Create a Test Execution with a Test that has no test steps.
- Open the test execution screen and set the Test Run's status to a final status (ex.: PASSED).
- Observe the TestRun Progress column for that Test Run.
Expected Result:
A column named “TestRun Progress“ should display the progress of the Test Run. If the Test Run has test steps, it should show the completion % based on the number of test steps that already have a final status set. But if a Test Run without test steps has already been set to a final status, it’s completion is completed and it should show as 100%.
Actual Result:
The TestRun Progress column shows 0% for a Test Run that has a final status set if that Test Run has no steps, which is misleading.
Attachments
Issue Links
- is duplicated by
-
XCC-3341 Loading...