PHP version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project
Apache License 2.0
271
stars
92
forks
source link
refactor: Apply Visitor pattern for EachValue/EachKey matchers #591
There are a lot of
if
conditions inPluginFormatter.
I thinkVisitor
pattern can be applied to solve this.