I was using gem turn to format ANSI color output for tests, which worked great.
Then I discovered that it doesn’t work with mocha. Is there a way to get them to work together? How do you create color output when working with mocha?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The gem redgreen works with Mocha and provides nice color output for tests.
Here’s how to get it to work: In rails is it possible to get colour highlighting for the rake test command?