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_2.12` * version-id = `3.5.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 |
版本 | 仓库 | 发布时间 |
3.6.15 | central | 2020-04-29 11:39 |
3.6.14 | central | 2019-09-28 12:26 |
3.6.13 | central | 2019-09-08 10:28 |
3.6.12 | central | 2019-07-21 09:37 |
3.6.11 | central | 2019-07-07 15:36 |
3.6.10 | central | 2019-06-26 07:56 |
3.6.9 | central | 2019-06-20 13:03 |
3.6.8 | central | 2019-06-15 15:09 |
3.6.7 | central | 2019-05-12 14:02 |
3.6.6 | central | 2019-05-05 14:54 |
3.6.5 | central | 2019-04-21 13:11 |
3.6.4 | central | 2019-04-14 17:12 |
3.5.25 | central | 2019-04-14 15:30 |
3.6.3 | central | 2019-03-31 16:38 |
3.6.2 | central | 2019-02-17 14:42 |
3.6.1 | central | 2018-12-16 11:39 |
3.6.0 | central | 2018-12-02 14:21 |
3.5.24 | central | 2018-11-04 15:38 |
3.6.0-rc.1 | central | 2018-10-21 11:11 |
3.5.23 | central | 2018-09-23 14:32 |
3.6.0-rc.0 | central | 2018-09-22 15:13 |
3.5.22 | central | 2018-09-09 11:47 |
3.5.21 | central | 2018-08-12 13:22 |
3.5.20 | central | 2018-07-28 15:44 |
3.5.19 | central | 2018-07-01 16:55 |
3.5.18 | central | 2018-06-17 14:43 |
3.5.17 | central | 2018-06-03 12:46 |
3.5.16 | central | 2018-05-06 16:33 |
3.5.15 | central | 2018-04-22 13:55 |
仓库 | 个数 |
Central | 592045 |