Bug 1126338 - [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.
Summary: [testing report] If a test run has no caseruns, the run count will be inconsi...
Keywords:
Status: ASSIGNED
Alias: None
Product: TCMS
Classification: Other
Component: Application
Version: 3.8.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.1
Assignee: cqi
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-04 08:31 UTC by yangqiu
Modified: 2023-10-20 16:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
[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. (167.57 KB, image/jpeg)
2014-08-04 08:31 UTC, yangqiu
no flags Details

Description yangqiu 2014-08-04 08:31:09 UTC
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:
as summary.

Version-Release number of selected component (if applicable):
v3.8.10-1 on devel server.

How reproducible:
100%

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.
https://tcms-devel.app.eng.nay.redhat.com/report/testing/?r_product=343&r_created_since=&r_created_before=&report_type=per_plan_tag_report
3.Check the run count whether consistent with run list.

Actual results:
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.

Expected results:
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.

Additional info:

Comment 1 cqi 2014-08-05 02:56:03 UTC
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.

Comment 2 fhuang 2014-08-27 08:40:23 UTC
Solution 1 is OK.


Note You need to log in before you can comment on or make changes to this bug.