You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[TestNG] Running:
Ant suite
AM
@AfterMethod StTest.afterMethod()[pri:0, instance:test.StTest@475b73eb]
AC
@AfterMethod StTest.afterClass()[pri:0, instance:test.StTest@475b73eb]
AS
@AfterMethod StTest.afterSuite()[pri:0, instance:test.StTest@475b73eb]
===============================================
Ant suite
Total tests run: 1, Failures: 0, Skips: 0
===============================================
Bit of debugging on my end showed that inner state of an instance of ITestNGMethod returned by ITestResult.getMethod() (where ITestResult is passed to listener.onConfigurationSuccess() by testng internals) looks strange:
-added following snippet to o.t.reporters.TextReporter:
Since I don't now much about internals I'm afraid that if I try to fix this (somewhere in o.t.internal.ConfigurationMethod.createAfterConfigurationMethods() ?) I'll break some other, more important functionality, so I can possibly get around this by using ITestNGMethod.getMethod().getAnnotation() for now
The text was updated successfully, but these errors were encountered:
-pass following listener to TestNG (6.4/beta):
-and run following test:
=> listener reports:
Bit of debugging on my end showed that inner state of an instance of ITestNGMethod returned by ITestResult.getMethod() (where ITestResult is passed to listener.onConfigurationSuccess() by testng internals) looks strange:
-added following snippet to o.t.reporters.TextReporter:
shown in the test output:
Since I don't now much about internals I'm afraid that if I try to fix this (somewhere in o.t.internal.ConfigurationMethod.createAfterConfigurationMethods() ?) I'll break some other, more important functionality, so I can possibly get around this by using ITestNGMethod.getMethod().getAnnotation() for now
The text was updated successfully, but these errors were encountered: