From f3f61fb5d1f3aa23de755c75e1e2f7e515d492eb Mon Sep 17 00:00:00 2001 From: Gabriel Reis Date: Wed, 28 Oct 2015 08:12:57 +0000 Subject: [PATCH 1/2] Color highlight on the name of the failed tests --- _pytest/terminal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_pytest/terminal.py b/_pytest/terminal.py index ce4a88bc0..efc8acc63 100644 --- a/_pytest/terminal.py +++ b/_pytest/terminal.py @@ -458,7 +458,8 @@ class TerminalReporter: self.write_line(line) else: msg = self._getfailureheadline(rep) - self.write_sep("_", msg) + markup = {'red': True, 'bold': True} + self.write_sep("_", msg, **markup) self._outrep_summary(rep) def summary_errors(self): From a83d5c0f0813e7f1c90fff4accfd91be2dcb6366 Mon Sep 17 00:00:00 2001 From: "gabriel.reis" Date: Wed, 28 Oct 2015 19:35:04 +0000 Subject: [PATCH 2/2] Updated entries on CHANGELOG and AUTHORS. Ref: #1157 --- AUTHORS | 1 + CHANGELOG | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/AUTHORS b/AUTHORS index 141a7423c..27df00fc6 100644 --- a/AUTHORS +++ b/AUTHORS @@ -33,6 +33,7 @@ Eric Hunsberger Eric Siegerman Florian Bruhin Floris Bruynooghe +Gabriel Reis Graham Horler Grig Gheorghiu Guido Wesdorp diff --git a/CHANGELOG b/CHANGELOG index 6f585b8c7..3e254d34f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -11,6 +11,10 @@ belongs to a file which is no longer available. Thanks Bruno Oliveira for the PR. +- enhancement made to highlight in red the name of the failing tests so + they stand out in the output. + Thanks Gabriel Reis for the PR. + 2.8.2 -----