如何从TestNG的禁用控制台输出?(How to disable console output f

2019-10-16 19:44发布

我怎样才能运行TestNG的程序通过TestNG.run()时,禁用所有的控制台输出? 我试过了

   testNG.setUseDefaultListeners( false );

不进行任何更改。

Answer 1:

testng.setVerbose(0)。

..........



文章来源: How to disable console output from TestNG?
标签: testng