-
Notifications
You must be signed in to change notification settings - Fork 129
Colorizing
marick edited this page Dec 8, 2011
·
9 revisions
As of version 1.3, Midje (and Lein-midje) obey the MIDJE_COLORING
environment variable.
true
turns coloring on. Failures are in red. Future facts are in cyan. Lein-midje colors summary lines either red or green so that you can easily check whether all facts passed or some failed.
false
turns coloring off.
reverse
colors the background behind the letters, rather than the letters themselves. That can be more readable if you use dark text on a light background.
On Unix systems, the default is true
. On Windows systems, it's false
. (By default, the Windows shell doesn't obey ANSI terminal control characters. This article may help you change that default, though it's rather out of date.)