stretchr/testify

Colorize "expected" and "actual"

Open

#946 geöffnet am 13. Mai 2020

Auf GitHub ansehen
 (8 Kommentare) (45 Reaktionen) (0 zugewiesene Personen)Go (1.704 Forks)batch import
enhancementenhancement: colored outputhelp wanted

Repository-Metriken

Stars
 (25.958 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 15h) (2 gemergte PRs in 30 T)

Beschreibung

Can we have an option to colorize "expected" and "actual" in test output? Like this: Screenshot from 2020-05-13 18-27-59

0_ZTerrO_akuDWSV8h

For me the colors helps because it allows me to locate the diff faster. This kind of coloring is very common in Node.js test frameworks.

Contributor Guide