pact-foundation / pact-jvm

JVM 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.
https://docs.pact.io
Apache License 2.0
1.08k stars 478 forks source link

Support differing order of params #35

Closed bethesque closed 9 years ago

bethesque commented 10 years ago

Exact string matching for query params is not helpful as order of params is irrelevant. Params should match no matter what the order is.

See original ruby pact issue https://github.com/realestate-com-au/pact/issues/17

Pact specification issue: https://github.com/bethesque/pact_specification/issues/2

thetrav commented 10 years ago

Should possibly be labeled "support query matching" as pact-jvm doesn't currently have anything for it outside path

thetrav commented 10 years ago

closing this issue until query params make it into the pact specification

bethesque commented 10 years ago

Please update your tests, query params are now in the spec.

uglyog commented 9 years ago

Implemented

bethesque commented 9 years ago

Hey Ron, can you make put some testcases in the pact-specification? We need to coordinate this across JVM, Ruby and .Net. I'll make a v1.1 branch.