https://pact.io logo
Join Slack
Powered by
# pact-dart
  • o

    Oscar Vidal

    02/18/2022, 1:14 PM
    Ok I see there exists a fork that it is compatibilized: https://github.com/matthewshirley/pact_consumer_dart would be awesome if anybody around here can help me setting it up because can't make it work.
    m
    • 2
    • 1
  • f

    Fabio Biola

    07/11/2022, 4:33 PM
    Hello @Matt Shirley, are you still developing the pact_dart library?
    m
    • 2
    • 3
  • m

    Matt Shirley

    11/09/2022, 6:12 PM
    Successfully 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:
    Copy code
    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.
    🙌 1
    🎉 4
    m
    • 2
    • 2
  • m

    Matt (pactflow.io / pact-js / pact-go)

    11/13/2022, 10:00 PM
    cc: @Yousaf Nabi (pactflow.io) 👉 https://pact-foundation.slack.com/archives/C0143ESUDB2/p1668017564841839 (this is a scheduled post to remind me/us) @Matt (pactflow.io / pact-js / pact-go)