You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting up unit tests for PactSwift verifying matchers in request body, specifically Numeric matcher. When executing the API request and Pact verification, verification succeeds with false positive:
🌎 Environment
pact_ffi
0.4.25
v3
,v4
💬 Description
Setting up unit tests for
PactSwift
verifying matchers in request body, specificallyNumeric
matcher. When executing the API request and Pact verification, verification succeeds with false positive:🦶 Reproduction Steps
Steps to reproduce the behaviour:
Body(key1: String, key2: String)
that takes strings for property’s values,Body
type and string values,🤔 Expected Results
Pact test should fail due to invalid type being passed for the body keys’ values.
😲 Actual Results
Pact test succeeds with
Request matched, sending response
🌳 Logs
📄 Stack Traces
See attached
false-positive-numeric-body-value
for fullstandardOut: .trace
log:false-positive-numeric-body-value.log
🤝 Relationships
The text was updated successfully, but these errors were encountered: