Created attachment 923797 [details]
[testing report] If a test run has no caseruns, the run count will be inconsistent with run list in testing report generated By Plan's Tag Per Tag View.
Description of problem:
Version-Release number of selected component (if applicable):
v3.8.10-1 on devel server.
Steps to Reproduce:
1.There is plan which has a run with 0 caseruns.
2.Enter testing report page, choose product to generate a report By Plan's Tag Per Tag View.
3.Check the run count whether consistent with run list.
the run count is inconsistent with run list.
that is, the run count statistic the run without caseruns, while the run list does not display the run without caseruns.
the run count is consistent with run list.
that is, the run count statistic the run without caseruns, and the run list display the run without caseruns as well.
there is a design decision about this bug to be determined. That is, how to tell user no statistics data associated with a test run. Possibly, two solution would be adopted.
1. do not display that sort of test runs that has no case runs, and display a message in some place like this "Test runs that has no case runs are not displayed." or some other better descriptive text. The goal is to tell users the fact much clearly. And this can also be a principle to all reports generally, it's simple and clear.
2. still display those test runs, and each data cell is empty. This would make users confuse, they may ask why there is nothing in data cell. meanwhile, in such way, report page would be very large to contain ones that has no data. after all, stakeholders of a report concern the situation reflected via data, not which ones have no data.
Solution 1 is OK.