pact-jvm-consumer-junit5 pact-jvm-consumer-junit5

Group au.com.dius
描述 pact-jvm-consumer-junit5 ======================== JUnit 5 support for Pact consumer tests ## Dependency The library is available on maven central using: * group-id = `au.com.dius` * artifact-id = `pact-jvm-consumer-junit5` * version-id = `4.0.x` ## Usage ### 1. Add the Pact consumer test extension to the test class. To write Pact consumer tests with JUnit 5, you need to add `@ExtendWith(PactConsumerTestExt)` to your test class. This replaces the `PactRunner` used for JUnit 4 tests. The rest of the test follows a similar pattern as for JUnit 4 tests. ```java @ExtendWith(PactConsumerTestExt.class) class ExampleJavaConsumerPactTest { ``` ### 2. create a method annotated with `@Pact` that returns the interactions for the test For each test (as with JUnit 4), you need to define a meth
版本 仓库 发布时间
4.0.10 central 2020-04-18 15:11
4.0.9 central 2020-04-05 11:43
4.0.8 central 2020-03-23 06:44
4.0.7 central 2020-03-08 10:18
4.0.6 central 2020-02-22 09:58
4.0.5 central 2020-01-26 14:46
4.0.4 central 2019-12-18 07:32
4.0.3 central 2019-11-10 06:58
4.0.2 central 2019-10-27 14:31
4.0.1 central 2019-10-16 10:36
4.0.0 central 2019-09-29 08:12
4.0.0-beta.6 central 2019-09-03 12:22
4.0.0-beta.5 central 2019-08-15 14:11
4.0.0-beta.4 central 2019-07-21 13:25
4.0.0-beta.3 central 2019-06-29 16:13
4.0.0-beta.2 central 2019-05-12 15:47
4.0.0-beta.1 central 2019-03-31 13:38
索引仓库
仓库 个数
Central 592045