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.6.15 | central | 2020-04-29 11:44 |
3.6.14 | central | 2019-09-28 13:04 |
3.6.13 | central | 2019-09-08 10:34 |
3.6.12 | central | 2019-07-21 09:42 |
3.6.11 | central | 2019-07-07 15:41 |
3.6.10 | central | 2019-06-26 08:06 |
3.6.9 | central | 2019-06-20 13:10 |
3.6.8 | central | 2019-06-15 15:14 |
3.6.7 | central | 2019-05-12 14:07 |
3.6.6 | central | 2019-05-05 14:59 |
3.6.5 | central | 2019-04-21 13:16 |
3.6.4 | central | 2019-04-14 17:17 |
3.5.25 | central | 2019-04-14 15:38 |
3.6.3 | central | 2019-03-31 16:42 |
3.6.2 | central | 2019-02-17 14:50 |
3.6.1 | central | 2018-12-16 11:46 |
3.6.0 | central | 2018-12-02 14:29 |
3.5.24 | central | 2018-11-04 15:46 |
3.6.0-rc.1 | central | 2018-10-21 11:18 |
3.5.23 | central | 2018-09-23 14:40 |
3.6.0-rc.0 | central | 2018-09-22 15:21 |
3.5.22 | central | 2018-09-09 11:55 |
3.5.21 | central | 2018-08-12 13:30 |
3.5.20 | central | 2018-07-28 15:53 |
3.5.19 | central | 2018-07-01 17:03 |
3.5.18 | central | 2018-06-17 14:54 |
3.5.17 | central | 2018-06-03 12:54 |
3.5.16 | central | 2018-05-06 16:33 |
仓库 | 个数 |
Central | 592045 |