title: Is there anyway to rerun a test class when it fails
body: <p>I want to rerun a test class including its <code>@BeforeMethod</code> when any one of it's <code>@Test</code> fails. I have already implemented TestNG retry logic to rerun the failed test cases but I want to run entire class.</p>