testng-team / testng

TestNG testing framework
https://testng.org
Apache License 2.0
1.99k stars 1.02k forks source link

Reporter.log do not work inside onFinish event when calling testng ant task #744

Open zbasmaji opened 9 years ago

zbasmaji commented 9 years ago

In testng 6.8, I was able to call Reporter.log("foo") to publish reporter log in testng-result.xml during onFinish () event in ITestListener. In testng 6.9, I am not able to publish reporter.log("foo") during onFinish event in ITestListener.

Note - This only happens when running testng in ant using TestNGAntTask class

Thanks

juherr commented 9 years ago

Could you share some code which could help us to understand clearly your problem and what you expect?