Created
October 17, 2017 18:57
-
-
Save thombergs/b402ec76be243285978dda8ee877c743 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 ConnectionCheckingTest { | |
private ConnectionChecker connectionChecker = | |
new ConnectionChecker("http://my.integration.system"); | |
@Test | |
public void testOnlyWhenConnected() { | |
assumeTrue(connectionChecker.connect()); | |
... // your test steps | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment