Closed Bug 625213 Opened 15 years ago Closed 15 years ago

Add a results pane for test runs

Categories

(Mozilla QA Graveyard :: MozTrap, enhancement, P1)

enhancement

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 650969

People

(Reporter: aakashd, Unassigned)

References

Details

(Whiteboard: [API?])

Attachments

(1 file)

The TCM will need a results pane for test run results collected from logged in users. In this pane, the following will be needed: * A table of results entries with values shown for name, failed, invalid and bugs * Default list of 20 results shown * A combobox to set the number of results per page going from 10,20,50 and 100. When selected, the page should AJAX-ily update the listings area rather than require a new page load. * A checkbox per row entry when a logged in user is an admin * Pagination that allows users to go to a certain page and to the beginning and end of the set of results AJAX-ily.
Depends on: 625188
Attached image mockup
Target Milestone: 0.2 → 0.3
We'll need a new API call for getting summary passed/failed/invalid stats on a test run.
Whiteboard: [API?]
From Matt's comments on #634966, it seems like it will be important to add drill-down from a test run to its component suites/test-cases, and from there to individual results. That drill-down isn't currently reflected in these bugs.
From comments on https://bugzilla.mozilla.org/show_bug.cgi?id=634966 it sounds like it will be important to report test-run results by test suite. This will require API changes, because the platform doesn't currently store the suite grouping in the test run, it just dumps the contents of the suite into the run as individual test cases. So currently the only way to report test run results by suite, AFAIK, would be to iterate over every individual result in the test run and check its testcase for membership in every suite in the system. This is not feasible performance-wise.
If we make test runs to only allow inclusion of test suites, then I think this would necessitate that the included test suite name(s) would be a data member list of the test run. Upon reporting, it would be a matter of bucketing the merged test case results per test suite name.
I'll make a note to Vadim of this requirement.
Depends on: 636566
APIs: As always: Carl, please advise /testruns/ GET POST /testruns/assignments/{assignmentId}/results/" /testruns/results/" /testruns/results/{resultId}/" /testruns/results/{resultId}/approve/" /testruns/results/{resultId}/environments/" /testruns/results/{resultId}/retest/" /testruns/{id}/" /testruns/{id}/approveallresults/" /testruns/{id}/components/" /testruns/{id}/includedtestcases/" /testruns/{id}/includedtestcases/testplan/{testPlanId}/" /testruns/{id}/includedtestcases/testsuite/{testSuiteId}/" /testruns/{id}/retest/" /testruns/{id}/team/members/" /testruns/{id}/testsuites/"
These look comprehensive, probably overly so. We probably won't be accessing individual results or includedtestcases or assignments on this screen, but as I mentioned above, we'll need a new API (that currently doesn't exist) for getting per-test-run summary results (thus this is blocked on #636566).
Finally finished implementing tests for most of the endpoints listed above. Some we will not use at this time: /testruns/{id}/components/" /testruns/{id}/includedtestcases/testplan/{testPlanId}/"
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Bumping to verified duplicate
Status: RESOLVED → VERIFIED
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: