Hello! I have a question regarding Pact and contract/functional testing!
If I had a consumer client such as the one below, I think writing a test for the sign_up method is pretty straightforward. It it similar to the zoo-app example and makes sense to me.
But how would I approach a method such as sign_in, where there is a series of requests stemming from the same ConsumerExample client method. This would result in a sequence of requests, and I'm just not sure what to make of this (how to test ConsumerExample.sign_in).
Should I be testing at the http_client level? Is the Consumer example containing business logic a red flag? Is there a creative/best practice?
I can't seem to find anything after googling around for a while - hoping I can get a little more intuition here, or maybe a link to some relevant examples/documentation.
Thanks! cc @Andy Jenness