When i'm running cucumbers java tests from eclipse the cucumber jvm is outputting wrong texts on console... It's printing this:
[32mWhen[0m[32mclica no botão '[0m[32m[1mbuscarButton[0m[32m'[0m
I don't know why it is printing this squares
I'm currently using
com.github.cukespace:cukespace-core:1.5.10
info.cukes:cucumber-picocontainer:1.1.8
info.cukes:cucumber-junit:1.1.8
Wasn't encode problem, I have found the problem. The cucumber from info.cukes
is trying to print the text with syntax colors that works perfect on terminal but not in eclipse console.
If someone have the same problem, need to change to monochrome mode
At arquillian.xml
<arquillian...
<extension qualifier="cucumber">
<property name="colors">--monochrome</property>
<property name="report">true</property>
<property name="report-directory">target/cucumber-report</property>
</extension>
...