Created
October 17, 2017 18:56
-
-
Save thombergs/7a591f3aad83a3c6bf0e0b6232dde7ac to your computer and use it in GitHub Desktop.
This file contains hidden or 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
public class ConnectionCheckingJunit4Test { | |
@ClassRule | |
public static AssumingConnection assumingConnection = | |
new AssumingConnection(new ConnectionChecker("http://my.integration.system")); | |
@Test | |
public void testOnlyWhenConnected() { | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment