Skip to content
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

test(compatibility-suite): Implement V1 Provider scenarios #429

Merged
merged 1 commit into from Dec 22, 2023

Conversation

tienvx
Copy link
Contributor

@tienvx tienvx commented Dec 22, 2023

  • Add PactBroker service to start and stop pact broker using docker image.
  • Add PactBrokerContext to:
    • Start pact broker before scenario
    • Stop pact broker after scenario
  • Add ProviderStateServer service to start and stop a server to handle provider states.
  • Add ProviderStateContext to:
    • Start provider state server before scenario
    • Stop provider state server after scenario
  • Add PactWriter service to allow writing interaction to json file.
  • Add ProviderVerifier service to allow verifying sources (pacts from local or pact broker) with provider.
  • Add HttpClient service to send http request for Client service
  • Implement scenarios for V1/Http/Provider suite
  • Register V1/Http/Consumer and V1/Http/Provider suites to behat
  • Add Compatibility Suite workflow to Github Actions
    • Add V1 job

@tienvx
Copy link
Contributor Author

tienvx commented Dec 22, 2023

We run out of Cirrus CI's monthly compute limit. That's why tests are failed until next month.

Copy link
Collaborator

@Lewiscowles1986 Lewiscowles1986 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, for anyone not realising, the behat features are pre-defined from the sub-module.

@Lewiscowles1986
Copy link
Collaborator

Do you think for history sake you could put a little bit of information in the PR's? 😂

@tienvx
Copy link
Contributor Author

tienvx commented Dec 22, 2023

Updated PR's description with items I implemented in this PR

@tienvx tienvx merged commit c07b72a into pact-foundation:ffi Dec 22, 2023
21 of 27 checks passed
@tienvx tienvx deleted the v1-provider branch December 22, 2023 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants