我是契约合同测试的新手
implementation 'org.springframework.boot:spring-boot-starter-web'au.com.dius.pact.consumer:junit5:4.3.6'
public class CodeController {@GetMapping("/hello")
public String h
我从Pact test开始,我遵循了Pact-JVM-Example的示例,然后创建了自己的测试 生产者返回来自用户的数据(非常简单的JSON) { "id":1,"firstName":"name","lastName":"last“} 消费者测试是: public class HelloControllerTest { public P