Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通过 TestNG.run() 以编程方式运行 TestNG 时,如何禁用所有控制台输出?我试过了
testNG.setUseDefaultListeners( false );
这没有任何改变。
testng.setVerbose(0)。
…………