如何在Intellij IDEA中配置TestNG输出的编码?

时间:2014-12-01 10:42:22

标签: encoding intellij-idea log4j testng

我使用IntelliJ IDEA(14.0.1)中的TestNG(6.8.8)插件运行我对本地环境的测试,并得到了log4j生成的日志的错误编码:

[TestNG] Running:
C:\Users\user\.IdeaIC14\system\temp-testng-customsuite.xml

INFO        com.common.reporter.ScreenShot#  33: Удаляем все файлы из папки C:\Workspace\tests\target\Custom suite\..\html\screenshots
TRACE       com.common.driver.DriverFactory# 137: os.name = windows 7
TRACE       com.common.driver.DriverFactory# 140: РўРёРї РћРЎ - windows
Starting ChromeDriver (v2.11.298604 (75ea2fdb5c87f133a8e1b8da16f6091fb7d5321e)) on port 20843
Only local connections are allowed.

我尝试通过运行/调试配置配置VM选项,并添加了如此处所述的选项 - Character encoding in IDEA output of AssertionError,但这两种解决方案都无济于事。

使用mvn运行时工作正常。

任何想法怎么可能解决这个问题?

0 个答案:

没有答案