Send messages suite_start and suite_end in moztest.adapters.unit

RESOLVED FIXED in mozilla32

Status

Testing
Mozbase
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: ato, Assigned: ato)

Tracking

unspecified
mozilla32
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
moztest.adapters.unit.StructuredTestResult doesn't correctly implement the structured logging protocol by leaving out the suite_start and suite_end messages.

Specifically it's missing the suite_start and suite_end messages.  The startTestRun and stopTestRun unittest methods are currently no-op's.

It would also be useful is StructuredTestRunner took a test_list property that is [] by default but can be set to a list of tests which could be included as an extra field in the suite_start message.
(Assignee)

Updated

4 years ago
Assignee: nobody → ato
Status: NEW → ASSIGNED
(Assignee)

Comment 1

4 years ago
Created attachment 8430873 [details] [diff] [review]
0001-Bug-1017596-Add-suite_start-and-suite_end-messages-t.patch
Attachment #8430873 - Flags: review?(james)
Attachment #8430873 - Flags: review?(james) → review+
That seems very surprising since afaict this code isn't used by the marionette tests.
https://hg.mozilla.org/mozilla-central/rev/246b25b05b59
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.