@Override protected void failed(Throwable e, Description description) { testReporter.error( String.format( "Test Failed (%s): %s", memWatcher.getMemString(), description.getDisplayName()), e); failureCount++; }
@AfterClass public static void finiDrillTest() throws InterruptedException { testReporter.info( String.format("Test Class done (%s): %s.", memWatcher.getMemString(true), className)); LOG_OUTCOME.sleepIfFailure(); }
@Override public void succeeded(Description description) { testReporter.info( String.format( "Test Succeeded (%s): %s", memWatcher.getMemString(), description.getDisplayName())); }