如何使用空手道在模拟服务器中合并多个特征文件?
How to merge multiple feature file in mock server using karate?
我正在使用 runner class 如下:
https://github.com/intuit/karate/blob/master/examples/consumer-driven-contracts/payment-producer/src/test/java/payment/producer/mock/PaymentContractAgainstMockTest.java
现在我有多个模拟功能文件,我想在单个运行器中使用它们。我从 0.9.6 发行说明中了解到这是可用的,但我不确定我必须对此文件做哪些更改?
https://github.com/intuit/karate/blob/master/examples/consumer-driven-contracts/payment-producer/src/test/java/payment/producer/mock/PaymentContractAgainstMockTest.java
同样需要帮助。
FeatureServer.start(files, 0, false, null)
可以将 List<File>
作为第一个参数。
我正在使用 runner class 如下: https://github.com/intuit/karate/blob/master/examples/consumer-driven-contracts/payment-producer/src/test/java/payment/producer/mock/PaymentContractAgainstMockTest.java
现在我有多个模拟功能文件,我想在单个运行器中使用它们。我从 0.9.6 发行说明中了解到这是可用的,但我不确定我必须对此文件做哪些更改? https://github.com/intuit/karate/blob/master/examples/consumer-driven-contracts/payment-producer/src/test/java/payment/producer/mock/PaymentContractAgainstMockTest.java
同样需要帮助。
FeatureServer.start(files, 0, false, null)
可以将 List<File>
作为第一个参数。