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

この記事は役に立ちましたか?
8人中1人がこの記事が役に立ったと言っています

コメント

0件のコメント

サインインしてコメントを残してください。