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

Task: Proof of concept using Pact plugins #116

Open
surpher opened this issue Jul 26, 2023 · 1 comment
Open

Task: Proof of concept using Pact plugins #116

surpher opened this issue Jul 26, 2023 · 1 comment
Labels
good first issue Good for newcomers hacktoberfest A tag describing the issue or pull request is considered part of hacktoberfet help wanted Extra attention is needed tech Something technical that doesn't fit a feature or enhancement v2.x.x Tasks related to setting up next major version of PactSwift

Comments

@surpher
Copy link
Owner

surpher commented Jul 26, 2023

❕ Problem Statement

Pact supports plugins https://github.com/pact-foundation/pact-plugins.

πŸ’¬ Task Description

Look into how to make use of it, prepare a plan, architecture and PR it.

πŸ“ Notes

Branch off of https://github.com/surpher/PactSwift/tree/feat/v2.0.0

πŸ‘©β€πŸ”§ Technical Design Notes

From what's been seen in other Pact implementations it could look something like:

try builder
   .uponReceiving(...)
   .given(...)
   .usingPlugin(plugin_name) // <- This little diddy
   .withRequest(...) { ... }
   ...

🀝 Relationships

  • Other Related Issues:
@surpher surpher added help wanted Extra attention is needed good first issue Good for newcomers tech Something technical that doesn't fit a feature or enhancement hacktoberfest A tag describing the issue or pull request is considered part of hacktoberfet labels Aug 2, 2023
@surpher surpher added the v2.x.x Tasks related to setting up next major version of PactSwift label Aug 2, 2023
@surpher surpher changed the title Task: Use Pact plugins Task: Proof of concept using Pact plugins Aug 9, 2023
@YOU54F
Copy link

YOU54F commented Nov 19, 2024

Example gRPC based test in swift directly using the libpact_ffi framework

https://github.com/YOU54F/hello_ffi/blob/main/swift/hello_grpc.swift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest A tag describing the issue or pull request is considered part of hacktoberfet help wanted Extra attention is needed tech Something technical that doesn't fit a feature or enhancement v2.x.x Tasks related to setting up next major version of PactSwift
Projects
Development

No branches or pull requests

2 participants