Reputation: 12885
How can I disable all console output when running TestNG programmatically via TestNG.run()? I've tried
testNG.setUseDefaultListeners( false );
which does not make any change.
Upvotes: 1
Views: 1648
Reputation: 15608
testng.setVerbose(0).
..........