Closed Bug 1017596 Opened 7 years ago Closed 7 years ago

Send messages suite_start and suite_end in moztest.adapters.unit

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla32

People

(Reporter: ato, Assigned: ato)

Details

Attachments

(1 file)

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: nobody → ato
Status: NEW → ASSIGNED
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
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.