stretchr/testify

Colorize "expected" and "actual"

Open

#946 aberto em 13 de mai. de 2020

Ver no GitHub
 (8 comments) (45 reactions) (0 assignees)Go (1.704 forks)batch import
enhancementenhancement: colored outputhelp wanted

Métricas do repositório

Stars
 (25.958 stars)
Métricas de merge de PR
 (Mesclagem média 6d 15h) (2 fundiu PRs em 30d)

Description

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.

Guia do colaborador