python-wiremock icon indicating copy to clipboard operation
python-wiremock copied to clipboard

WireMock-Python 3.0

Open oleg-nenashev opened this issue 2 years ago • 1 comments
trafficstars

We would like to have a new major update and release of WireMock Python SDK that is aligned with WireMock 3.0. Key items

  • WireMock 3.0 compatibility and specification alignment
  • Quality of life enhancements, e.g. #34
  • Any other contributions!

Scope

See https://github.com/wiremock/python-wiremock/milestone/1

oleg-nenashev avatar Apr 12 '23 12:04 oleg-nenashev

  • Support for starting the WireMock server using Testcontainers when Docker is present and no other WireMock server has been provided.
  • Integration with PyTest, allowing WireMock to be bootstrapped in a test module via an appropriate test framework extension point (building on top of the Testcontainers functionality).
  • Addition of missing API routes and matcher types (see below)

Missing features

API routes

Find stub mappings by metadata: /mappings/find-by-metadata

Import stub mappings: /mappings/import

File put and delete: /files /files/**

Set single scenario state: /scenarios/{name}/state

Delete requests operations: /requests/{id} /requests/remove /requests/remove-by-metadata

Recording: /recordings/start /recordings/stop /recordings/snapshot

Matchers

doesNotContain not before after equalToDateTime and or

tomakehurst avatar Apr 14 '23 15:04 tomakehurst