I need to keep verbose level at 2, but now the TestNG console output includes:
[RemoteTestNG] detected TestNG version 6.14.3
...
... TestNG 6.14.3 by Cédric Beust (cedric@beust.com)
...
I've already tried creating my own listener which extends TestListenerAdapter
and implements IAlterSuiteListener
.
Changing the verbose level within the overridden alter()
method does work, but it sets the level too early, its the same as if I had manually set the level within the testng.xml file. (If I set verbose to 0 here, it would remain at 0, and not 2, while running tests. If I set it to 2, then it brings us right back to square 1.)
Trying to change the verbose level within the overridden onStart()
/ onFinish()
methods, does not seem to make any difference at all, it just goes ignored.
Is there a way to avoid these headers at the start of testing while still keeping verbose level at 2 during testing?
Thanks!