mtz/behat-wiremock-context

facilitates interaction with wiremock in behat feature files

1.1 2022-08-19 22:27 UTC

This package is auto-updated.

Last update: 2024-04-20 01:48:54 UTC


README

Example of configuration

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

Note: if you have installed wiremock using docker then the service name that you used in the docker compose will be the base url. in this case the assumption is the docker service name is "wiremock" therefore the baseUrl will be "http://wiremock"