Oscar Vidal
02/18/2022, 1:14 PMFabio Biola
07/11/2022, 4:33 PMMatt Shirley
11/09/2022, 6:12 PMSuccessfully uploaded https://pub.dev/packages/pact_dart version 0.6.0.I’ve pushed a new version of
pact_dart
to pub
. This release requires everyone to use PactFFI v0.3.x. The library can be updated by running the install command again:
dart pub run pact_dart:install
A key change with this update was to improve messaging when an interaction was unable to be verified:
Pact was unable to validate one or more interaction(s):
Interaction Mismatch #1
Reason:
Request was not matched (GET /alligators)
Expected:
- Expected query parameter 'nice' but was missing
- Expected query parameter 'hungry' but was missing
Interaction Mismatch #2
Reason:
Request was unexpected
Actual:
GET /croc
Interaction Mismatch #3
Reason:
Request was missing
Expected:
GET /alligator
The next release is going to add support for message pacts.Matt (pactflow.io / pact-js / pact-go)