When throwing exception in the setup and teardown phases of TestNG, the status of the message becomes warning instead of failure.
We should be aligned to this behavior and when user is reporting a message with failure status we should replace it to warning instead.
When throwing exception in the setup and teardown phases of TestNG, the status of the message becomes warning instead of failure. We should be aligned to this behavior and when user is reporting a message with failure status we should replace it to warning instead.