Closed Bug 636764 Opened 13 years ago Closed 13 years ago

Differentiate between exceptions and assertions for l10n tests

Categories

(Mozilla QA Graveyard :: Mozmill Result Dashboard, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Attachments

(1 file)

For l10n tests we have to differentiate between JUM assertions and exceptions. Otherwise some important information is not shown.
Attached patch Patch v1Splinter Review
Only for l10n tests for now because no other testrun is using the JUM lib.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Attachment #515108 - Flags: review?(anthony.s.hughes)
This needs Mozmill 1.5.2. So adding dependency.
Depends on: 629107
Comment on attachment 515108 [details] [diff] [review]
Patch v1

>-                failures.push(result.fails[j].comment);

>+                else
>+                  failures.push("unknown failure");

In the case of !exception && !assertion, I'd still like to see the failure.  "unknown failure" is not valuable.  Can you simply use result.fails[j].comment for the "unknown fail" case?

With that change, r+.
Attachment #515108 - Flags: review?(anthony.s.hughes) → review+
(In reply to comment #3)
> In the case of !exception && !assertion, I'd still like to see the failure. 
> "unknown failure" is not valuable.  Can you simply use result.fails[j].comment
> for the "unknown fail" case?

We do not have a result.fails[j].comment field anymore with the changes on bug 632403. We can really have only those two different types of failure. So there is really nothing I could change.
Depends on: 632403
Anthony, any further objections? Otherwise I would like to land it.
Due to no other objections I have pushed the change to all dashboard instances and landed the patch in the repository.

https://github.com/whimboo/mozmill-dashboard/commit/26436c6b2d435046cb36d14bb872e3866a6e762b
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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: