PactSwift icon indicating copy to clipboard operation
PactSwift copied to clipboard

Task: Proof of concept using Pact plugins

Open surpher opened this issue 2 years ago • 1 comments

❕ 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 avatar Jul 26 '23 23:07 surpher