ANSI color codes appearing in test results

 

Overview

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. 

Here is a helpful article that outlines how to disable color output:
How to disable color output for Rspec

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

Comments

0 comments

Article is closed for comments.