-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add state transition for interactions #67
Comments
The mock service is stateful. You need to test those two scenarios in separate tests. Please read https://github.com/pact-foundation/pact-mock_service#mock-service-usage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
consumer code,
test code,
the test above is not valid, because there two GET requests match path "/user/foo/tokens".
To fix it, maybe we need make mock service stateful. The state of service can be changed on specific match interaction, just like presudo code below,
The text was updated successfully, but these errors were encountered: