#testing #pact #cdc

pact-plugin-driver

Pact support library that provides an interface for interacting with Pact plugins

9 releases

new 0.0.8 Oct 21, 2021
0.0.7 Oct 19, 2021
0.0.2 Sep 10, 2021
0.0.0 Aug 23, 2021

#203 in Hardware support

Download history 45/week @ 2021-08-22 11/week @ 2021-08-29 48/week @ 2021-09-05 95/week @ 2021-09-12 4/week @ 2021-09-19 3/week @ 2021-09-26 162/week @ 2021-10-03 457/week @ 2021-10-10 759/week @ 2021-10-17

487 downloads per month

MIT license

60KB
1.5K SLoC

Pact plugin driver library for Rust

Pact support library that provides an interface for interacting with Pact plugins

State of implementation

  • The ability to find plugins.
  • Load plugins and extract the plugin manifests that describe what the plugin provides.
  • Provide a catalogue of features provided by the plugins.
  • Provide a messaging bus to facilitate communication between the language implementation and the plugins.
  • Manage the plugin lifecycles.

Building the Rust driver

The Rust driver is built with Cargo. The build can be run with cargo build, but there is a test DriverPactTest that requires a Protobuf plugin to work. Either skip or disable that test, or install the prototype Protobuf plugin before running the build.


lib.rs:

Pact plugin driver library for Rust

Dependencies

~15–21MB
~443K SLoC

qa