How can I add color to my cucumber test results in Terminal using autotest?
I am开发者_运维知识库 not getting any color in my Cucumber tests. I hope there is a way to make Cucumber output colorful results...
Have a look at the wiki article on adjusting the console colors for Cucumber. As mentioned in that article, you can see what colors can be used in your terminal by issuing the following command:
ruby -e "require 'rubygems'; require 'term/ansicolor'; puts Term::ANSIColor.attributes"
Update
Refer to this page for some documentation on getting the Cucumber colors to work while using autotest.
精彩评论