Closed Bug 1748457 Opened 2 years ago Closed 2 years ago

Log output of failed tests at the end

Categories

(Testing :: Python Test, enhancement)

Default
enhancement

Tracking

(firefox97 fixed)

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: ahal, Assigned: ahal)

Details

Attachments

(2 files)

The biggest annoyance with mach python-test for me is that when a test fails, it's often buried in 1000s of lines of output from passing tests. A simple solution is to log the failed test output at the end so it's always readily visible.

It might also be good to use a less verbose output format by default in pytest, but this change should be beneficial regardless.

Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9c89a6fcb62c
[python-test] Log output from failed tests at the end, r=mhentges
https://hg.mozilla.org/integration/autoland/rev/2b074b2904bd
Drop usages of six in |mach python-test|, r=mhentges
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: