1

A similar question is already asked but that answers for ANT here How to see color Ant output in MSYS/Git Bash?

but I am running cucumber test cases.

Also I have tried tutorial given here https://github.com/adoxa/ansicon/, but no luck it didn't work

Community
  • 1
  • 1
paul
  • 4,333
  • 16
  • 71
  • 144

1 Answers1

1

It works with git bash tricking cucumber into having ansicon installed, just put that into your .bashrc:

export ANSICON=1

This works, because git bash can handle bash color sequences and you just need to circumvent cucumber's ansicolor check.

elsamuko
  • 668
  • 6
  • 16