PactEx (pact_ex v0.1.0)

Copy Markdown View Source

Pact contract testing for Elixir, built on the pact_ffi Rust library.

Summary

Functions

Creates a pact between consumer and provider.

Functions

new(consumer, provider, opts \\ [])

@spec new(String.t(), String.t(), keyword()) :: PactEx.Pact.t()

Creates a pact between consumer and provider.

See PactEx.Pact.new/3 for the options. Raises FunctionClauseError if consumer or provider is not a string.