-
-
Notifications
You must be signed in to change notification settings - Fork 243
Closed
Labels
featureNew feature or requestNew feature or requesthelp wantedContributions are welcomeContributions are welcome
Milestone
Description
Modify DefaultFormatter to support colorized output.
It should provide three color modes, controlled by an option:
- auto (used by default) - enable colors if testing.Verbose() is true and stdout is a tty / console
- always - always use colors
- never - never use colors
Color support should work for both unix and windows.
Colors should be injected into failure template using template functions, but should not be present in FormatData. This way users that use DefaultFormatter with custom templates won't be affected.
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requesthelp wantedContributions are welcomeContributions are welcome