Created
February 16, 2021 05:31
-
-
Save ultimate-qa2/70ff366adb4346a7965bcd6d26104ddf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Rule | |
public TestWatcher watcher = new TestWatcher() { | |
@Override | |
protected void failed(Throwable e, Description description) { | |
System.out.println(description.getMethodName() + ": Failed"); | |
} | |
@Override | |
protected void succeeded(Throwable e, Description description) { | |
System.out.println(description.getMethodName() + ": Succeeded"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment