Closed Bug 779665 Opened 13 years ago Closed 13 years ago

test.py should use moztest

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Assigned: mihneadb)

References

Details

Attachments

(1 file, 1 obsolete file)

When you're a dog, eating dogfood is appropriate. When you're a test harness to test the test harness, using your own test package is appropriate. https://github.com/mozilla/mozbase/blob/master/test.py should use the moztest results package for outputting and processing results.
Assignee: nobody → mbalaur
Depends on: 779664
Attached patch store results in moztest (obsolete) — Splinter Review
The patch assumes the modifications in #779664 are present, that's why I added the dependency. Managed to keep the exit statement in one line, seems more readable this way.
Attachment #648581 - Flags: feedback?(jhammel)
Attachment #648581 - Flags: feedback?(jhammel) → feedback+
Also switched to *results as we discussed.
Attachment #648581 - Attachment is obsolete: true
Attachment #649388 - Flags: review?(jhammel)
Comment on attachment 649388 [details] [diff] [review] use moztest for test results lgtm; good next steps would be adding CLI arguments for different output formats (but not a huge priority)
Attachment #649388 - Flags: review?(jhammel) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
test failures:
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: