开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜