ANSI color codes appearing in test results


If you discover your test results are difficult to read due to extraneous characters such as the image below, your XML reporter may be including ASCII color code information that is intended for use by the shell. 


Because your tests are run in a CI environment that is not intended to be monitored, you can safely disable all color information from your preferred test runner. 

How to disable color output for Rspec

Was this article helpful?
1 out of 9 found this helpful



Please sign in to leave a comment.