pactffi_nif (pact_erlang v0.3.1)

View Source

Summary

Functions

cleanup_mock_server(_)

create_mock_server_for_transport(_, _, _, _)

free_pact_handle(_)

get_mismatches(MockServerPort)

-spec get_mismatches(integer()) -> [] | thoas:json_term().

Returns all the interaction mismatches

get_reified_message(InteractionHandle)

-spec get_reified_message(integer()) -> [] | thoas:json_term().

Returns reified message contents

given(_, _)

given_with_params(_, _, _)

log_message(Arg1, Arg2, Arg3)

log_to_file(_, _)

logger_apply()

logger_attach_sink(Arg1, Arg2)

logger_init()

mock_server_matched(_)

mock_server_mismatches(_)

msg_given(_, _)

msg_given_with_param(_, _, _, _)

msg_with_contents(_, _, _)

new_interaction(Arg1, Arg2)

new_msg_interaction(_, _)

new_pact(Arg1, Arg2)

pact_handle_write_file(_, _, _)

reify_message(_)

response_status(_, _)

verify_broker_pacts(Name, Scheme, Host, Port, BaseUrl, Version, Branch, BrokerUrl, BrokerUser, BrokerPassword, EnablePending, ConsumerVersionSelectors, Protocol, StatePath, PublishVerificationResults)

Calls the appropriate broker verification NIF depending on OS

verify_file_pacts(Name, Scheme, Host, Port, Path, Version, Branch, FilePath, Protocol, StatePath, PublishVerificationResults)

version()

with_body(_, _, _, _)

with_header_v2(_, _, _, _, _)

with_query_parameter_v2(_, _, _, _)

with_request(_, _, _)