Merge pull request #1157 from gabrielcnr/master
Color highlight on the name of the failed tests
This commit is contained in:
commit
4fe7cca44e
1
AUTHORS
1
AUTHORS
|
@ -33,6 +33,7 @@ Eric Hunsberger
|
||||||
Eric Siegerman
|
Eric Siegerman
|
||||||
Florian Bruhin
|
Florian Bruhin
|
||||||
Floris Bruynooghe
|
Floris Bruynooghe
|
||||||
|
Gabriel Reis
|
||||||
Graham Horler
|
Graham Horler
|
||||||
Grig Gheorghiu
|
Grig Gheorghiu
|
||||||
Guido Wesdorp
|
Guido Wesdorp
|
||||||
|
|
|
@ -11,6 +11,10 @@
|
||||||
belongs to a file which is no longer available.
|
belongs to a file which is no longer available.
|
||||||
Thanks Bruno Oliveira for the PR.
|
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
|
2.8.2
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
|
@ -458,7 +458,8 @@ class TerminalReporter:
|
||||||
self.write_line(line)
|
self.write_line(line)
|
||||||
else:
|
else:
|
||||||
msg = self._getfailureheadline(rep)
|
msg = self._getfailureheadline(rep)
|
||||||
self.write_sep("_", msg)
|
markup = {'red': True, 'bold': True}
|
||||||
|
self.write_sep("_", msg, **markup)
|
||||||
self._outrep_summary(rep)
|
self._outrep_summary(rep)
|
||||||
|
|
||||||
def summary_errors(self):
|
def summary_errors(self):
|
||||||
|
|
Loading…
Reference in New Issue