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
Currently, any time an aborted/skipped exception is thrown by a TestExecutionListener, the TestContextManager unconditionally logs the exception at WARN level -- or ERROR level for prepareTestInstance() callbacks.
For the latter, an aborted/skipped exception is certainly not an ERROR, and in general the associated log output is very verbose (including a stack trace) and not something the user should be warned about it.
To improve the user experience, we should therefore log such exceptions at INFO level.
Overview
Currently, any time an aborted/skipped exception is thrown by a
TestExecutionListener
, theTestContextManager
unconditionally logs the exception atWARN
level -- orERROR
level forprepareTestInstance()
callbacks.For the latter, an aborted/skipped exception is certainly not an ERROR, and in general the associated log output is very verbose (including a stack trace) and not something the user should be warned about it.
To improve the user experience, we should therefore log such exceptions at
INFO
level.Test aborted/skipped exceptions
org.opentest4j.TestAbortedException
org.junit.AssumptionViolatedException
org.testng.SkipException
Related Issues
The text was updated successfully, but these errors were encountered: