Inspired by The Rust FFI Omnibus, this project aims to showcase the Pact FFI is as many languages as possible using the Foreign Function Interface
Note: This code in this project is not intended for use in your actual Pact projects, but may serve as inspiration for future projects.
- Load the shared libraries cross platform
- Print out the Pact FFI Library Version
- Create a HTTP Pact test
- Create a gRPC Pact test using a Pact Plugin
- Create a Pact Plugin
Bonus points
- Library downloader in each native language
Contributions are welcome.
Things that could be useful
- Create a website to display the code snippets (Docusaurus + Remote code tabs)
- Create a cucumber test suite that can be used to execute each test in every language. Example feature file in
./features
- More languages
- Create more examples of test suite lifecycles and proper arranging of FFI calls. See https://github.com/pact-foundation/pact-reference/blob/master/rust/pact_ffi/ARCHITECTURE.md