-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verifier CLI: documentation lacks detail #418
Comments
Updated the README for this.
It is an absolute path. Updated the README.
If both HTTP and message interactions are defined in the same Pact, the verifications for these can be configured using the |
Thanks for taking the time to raise these issues, and other updates to the pact cli experience. I believe they are all resolved now.
We have a couple of examples here over in the pact-plugin project
If you want to suggest a particular example or use case that you would like to see an example for, please do so in a new issue. Also if you have any further enhancements, please feel free to propose 👍🏾 |
I find myself referring to the verifier source code to figure out what the different CLI options do:
--state-change-url
will send. You can find the answer in the pact_verifier source code, but this should really be more easily accessible in the documentation itself.--state-change-url
needs to take. Is it the full URL, or can you use a relative path? If the latter, will--base-path
be honoured? (the source code is harder to follow here, but it looks like the URL needs to be absolute).--base-path
perhaps? If so, that would make it very hard to test both async message contracts and HTTP request-response contracts in the same verification session if a provider already has a API root POST endpoint used for other purposes.Perhaps a more fully-featured example, including a sample could be provided?
The text was updated successfully, but these errors were encountered: