Module pact_ffi::plugins

source ·
Expand description

The plugins module provides exported functions using C bindings for using plugins with Pact tests.

Functions§

  • Decrement the access count on any plugins that are loaded for the Pact. This will shutdown any plugins that are no longer required (access count is zero).
  • Setup the interaction part using a plugin. The contents is a JSON string that will be passed on to the plugin to configure the interaction part. Refer to the plugin documentation on the format of the JSON contents.
  • Add a plugin to be used by the test. The plugin needs to be installed correctly for this function to work.