Created
October 13, 2016 20:55
-
-
Save fitzoh/f15eed60784206afd78126c951252333 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
@RunWith(PactRunner.class) | |
@Provider("some-provider") | |
@PactFolder("/some/path/pact") | |
@WebIntegrationTest("server.port=8080") | |
@SpringApplicationConfiguration(SomeSpringBootApplication.class) | |
public class ProviderPactTest { | |
private static TestContextManager testContextManager; | |
@TestTarget | |
public final HttpTarget target = new HttpTarget(8080); | |
@BeforeClass | |
public static void beforeClass() throws Exception { | |
testContextManager = new TestContextManager(ProviderPactTest.class); | |
testContextManager.beforeTestClass(); | |
} | |
@AfterClass | |
public static void afterClass() throws Exception { | |
testContextManager.afterTestClass(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment