pact-jvm-provider-junit5_2.11 pact-jvm-provider-junit5_2.11

Group au.com.dius
描述 # Pact Junit 5 Extension ## Overview For writing Pact verification tests with JUnit 5, there is an JUnit 5 Invocation Context Provider that you can use with the `@TestTemplate` annotation. This will generate a test for each interaction found for the pact files for the provider. To use it, add the `@Provider` and one of the pact source annotations to your test class (as per a JUnit 4 test), then add a method annotated with `@TestTemplate` and `@ExtendWith(PactVerificationInvocationContextProvider.class)` that takes a `PactVerificationContext` parameter. You will need to call `verifyInteraction()` on the context parameter in your test template method. For example: ```java @Provider("myAwesomeService") @PactFolder("pacts") public class ContractVerificationTest {
版本 仓库 发布时间
3.5.24 central 2018-11-04 16:26
3.5.23 central 2018-09-23 15:24
3.5.22 central 2018-09-09 12:55
3.5.21 central 2018-08-12 14:20
3.5.20 central 2018-07-28 17:07
3.5.19 central 2018-07-01 18:07
3.5.18 central 2018-06-17 16:20
3.5.17 central 2018-06-03 14:22
3.5.16 central 2018-05-06 18:57
索引仓库
仓库 个数
Central 592045