Monospace font for junit in eclipse is deprecated

I use Spock and want monospace output on the jUnit tab in Eclipse, but the parameter described in this Q / A ( Monospace font for junit in eclipse? ) Is deprecated. Does anyone know a workaround?

+4
source share
3 answers

The Jspresso Spock plugin solves this problem perfectly. :) I just installed version 2.8.0.

After installing it, you need to right-click on the project and select Jspresso> Add Spock Nature. What is it.

+1
source

I think because the people at Groovy Eclipse were so kind as to add this feature to the Eclipse 4.4 M1 (thanks!) In which it really belongs. (See Add a monospace font option to present junit results .) However, I really hope that they will support the function for older versions of Eclipse, since it will take years until most Spock users migrate to Eclipse 4.4. And this not only affects Spock code, but also all Groovy with assert code. I will try to contact the authors.

+4
source

Try using the Groovy Eclipse plugin snapshot release (version 2.9.x) here: http://dist.springsource.org/snapshot/GRECLIPSE/e4.3/

+1
source

Source: https://habr.com/ru/post/1493540/


All Articles