Closed Bug 1595180 Opened 4 months ago Closed 4 months ago

Report assertions in Mochitests with fail-if annotations more sensibly

Categories

(Testing :: Mochitest, task)

Version 3
task
Not set

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Currently, when a Mochitest has a fail-if annotation, any passing assertions are reported as EXPECTED-FAIL, which is extremely confusing, and makes it difficult to understand which parts of the test are still failing without removing the annotation. What we really want is for passing assertions to still be reported as passing, and for only actually failing assertions to reported as EXPECTED-FAIL.

Pushed by maglione.k@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/b7dc2082925e
Report assertions in Mochitests with fail-if annotations more sensibly. r=ahal
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.