When writing consumer tests in a Pact implementation that uses rust-core for mock server
I want to be able to define date time expressions
So that the generators inform the provider verification how/with what to verify a specific DateTime value
note: I'm not sure about the above though as I just copy pasted from the pact implementation issue board. I would imagine the "start" value would need to be in the provided "format"?
When writing consumer tests in a Pact implementation that uses rust-core for mock server I want to be able to define date time expressions So that the generators inform the provider verification how/with what to verify a specific DateTime value
This refers to: https://pactflow.io/blog/dealing-with-relative-dates-in-contract-tests/
Given a pact where the response should be:
note: I'm not sure about the above though as I just copy pasted from the pact implementation issue board. I would imagine the
"start"
value would need to be in the provided"format"
?Example Pact output:
Related to: https://github.com/DiUS/pact-consumer-swift/issues/128