More colors for eclipse

When working with cucumber test cases in eclipse, I noticed this rather weird looking output of the test cases in the console:

Eclipse console

 

After doing some research on google, I found out that the eclipse console can not display ANSI color codes.

On solution is to turn of the colorful output by setting the monochrome attribute of the test case to true:

But that would effect also the display outside of eclipse (e.g. in bash). Fortunately there is a plugin available which interprets the color codes correctly:

console2

The plugin can be activated/deactivated using the icon in the upper right corner of the console.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">