Kaarel Kitsemets
09/07/2024, 2:22 PMDiffDescription
class (https://github.com/wiremock/wiremock/pull/2771), but I can't figure out a way to use it correctly with my custom matcher which uses AssertJ to diff the json object in the POST request body.
Two test methods attempting to show my goal: https://github.com/kitsemets/wiremock-custom-matcher-test/blob/main/src/test/java/com/github/kitsemets/wiremock/matcher/CustomMatcherTest.javaRafe Arnold
09/09/2024, 8:25 AMDiffDescription
class is only used when rendering near miss responses, not when performing verifications. for verifications, JUnitStyleDiffRenderer
is used, which is a more simplified renderer that does not take into account the DiffDescription
Kaarel Kitsemets
09/09/2024, 9:40 AM