mtz/behat-wiremock-context

简化了在 behat 特性文件中与 wiremock 交互的过程

1.1 2022-08-19 22:27 UTC

This package is auto-updated.

Last update: 2024-09-20 02:59:23 UTC


README

配置示例

- MTZ\BehatContext\Wiremock\WiremockContext:
      baseUrl: 'http://wiremock'
      stubsDirectory: '%paths.base%/features/stubs'

注意:如果您使用 docker 安装了 wiremock,那么您在 docker compose 中使用的服务名称将是基本 URL。在这种情况下,假设 docker 服务名称为 "wiremock",因此 baseUrl 将为 "http://wiremock"