Pact.PactVerifier.FilterInfo (pact_verifier_ex v0.1.6)

Copy Markdown

Filter information used to filter the interactions that are verified.

Variants

  • None - No filter, all interactions will be verified.
  • Description - Filter on the interaction description.
  • State - Filter on the interaction provider state.
  • DescriptionAndState - Filter on both the interaction description and provider state.
  • InteractionIds - Filter on the list of interaction IDs.

Summary

Types

t()

@type t() ::
  :none
  | {:description, String.t()}
  | {:state, String.t()}
  | {:description_and_state, String.t(), String.t()}
  | {:interaction_ids, [Pact.PactVerifier.FilterById.t()]}

Functions

description(desc)

@spec description(String.t()) :: t()

description_and_state(desc, state)

@spec description_and_state(String.t(), String.t()) :: t()

interaction_ids(ids)

@spec interaction_ids([Pact.PactVerifier.FilterById.t()]) :: t()

none()

@spec none() :: t()

state(state)

@spec state(String.t()) :: t()