pact-jvm-provider-junit5-spring pact-jvm-provider-junit5-spring

Group au.com.dius
描述 # Pact Spring/JUnit5 Support This module extends the base [Pact JUnit5 module](../pact-jvm-provider-junit5). See that for more details. For writing Spring 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 `@ExtendWith(SpringExtension.class)` and one of the pact source annotations to your test class (as per a JUnit 5 test), then add a method annotated with `@TestTemplate` and `@ExtendWith(PactVerificationSpringProvider.class)` that takes a `PactVerificationContext` parameter. You will need to call `verifyInteraction()` on the context parameter in your test template method. F
版本 仓库 发布时间
4.0.10 central 2020-04-18 15:15
4.0.9 central 2020-04-05 11:46
4.0.8 central 2020-03-23 06:47
4.0.7 central 2020-03-08 10:22
索引仓库
仓库 个数
Central 592045