本文介绍了如何从Intellij为TestNg设置默认记者?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我通过文本编辑器进入workspace.xml文件并编辑相应RunManager的描述时:

When I go by a text editor into the workspace.xml file and edit the description of the appropriate RunManager:

<component name="RunManager" selected="TestNG.C:/Users/pgangnus/IdeaProjects/idm-apitesting/src/test/testng.xml">

行中的

in the line:

<option name="USE_DEFAULT_REPORTERS" value="false" />

但我仍然没有看到如何从IntelliJ IDE中设置它。

But still I do not see how to set it from the IntelliJ IDE.

推荐答案

您共享的屏幕截图的Listeners选项卡中提供了启用/禁用默认记者的设置。

The setting to enable/disable the default reporters are available in the "Listeners" tab of the screenshot that you shared.

请参阅下面的截图。您将看到一个可以选中的复选框以启用默认记者

Please see below screenshot. You will see a checkbox which can be checked to enable default reporters

这篇关于如何从Intellij为TestNg设置默认记者?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-21 05:05