Skip to content

Conversation

JP-Ellis
Copy link
Contributor

@JP-Ellis JP-Ellis commented Sep 5, 2025

No description provided.

@JP-Ellis JP-Ellis self-assigned this Sep 5, 2025
@JP-Ellis JP-Ellis force-pushed the chore/upgrade-mock-server-in-ffi branch from 6346a9a to fd6665f Compare September 5, 2025 06:26
This removes the two deprecated functions, and adapts the tests to make
use of the remaining non-deprecated function
`pactffi_create_mock_server_for_transport`; all in preparation to
upgrade the mock server dependency to version 2.

BREAKING CHANGE: The functions `pactffi_create_mock_server` and
    `pactffi_create_mock_server_for_pact` have been removed following
    their deprecation. Please use the newer
    `pactffi_create_mock_server_for_transport` function.

Signed-off-by: JP-Ellis <[email protected]>
I have overhauled the consumer example to:

- Use `CMake` and the Corrosion package to automatically find and build
  the FFI (including the header) and link to the necessary dependencies.
- Separate out the tests into individual files to help with the
  end-users' understanding of the tests.

The initial motivation was to remove the reliance on deprecated FFI
functions.

Signed-off-by: JP-Ellis <[email protected]>
@JP-Ellis JP-Ellis force-pushed the chore/upgrade-mock-server-in-ffi branch from fd6665f to aa6e96a Compare September 9, 2025 06:49
@JP-Ellis JP-Ellis force-pushed the chore/upgrade-mock-server-in-ffi branch from aa6e96a to c50ddc1 Compare September 9, 2025 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant