stretchr/testify

Colorize "expected" and "actual"

Open

#946 opened on 2020年5月13日

GitHub で見る
 (8 comments) (45 reactions) (0 assignees)Go (1,704 forks)batch import
enhancementenhancement: colored outputhelp wanted

Repository metrics

Stars
 (25,958 stars)
PR merge metrics
 (平均マージ 6d 15h) (30d で 2 merged PRs)

説明

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.

コントリビューターガイド