Just by adding the gem redgreen, the ‘rake test’ always finish by the line :
0 tests, 0 assertions, 0 failures, 0 errors
I’ve created a example project on github:
https://github.com/joel1di1/test_colored_tests
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.
In your Gemfile, change the group from being both :development and :test to just :test.
This way the redgreen gem is required in when you are running tests.