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?
0 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.