View Source PactElixir.PactMockServer (PactElixir v0.5.2-rc.8)

GenServer client API for managing a pact mock server. Used in conjunction with PactElixir.MockServerCallbacks.

Link to this section Summary

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.

Link to this function

matched?(mock_server_pid)

View Source

Specs

matched?(pid()) :: list()
Link to this function

mismatches(mock_server_pid)

View Source

Specs

mismatches(pid()) :: String.t()
Link to this function

pact_file_path(mock_server_pid)

View Source

Specs

pact_file_path(pid()) :: String.t()
Link to this function

pact_output_dir_path(mock_server_pid)

View Source

Specs

pact_output_dir_path(pid()) :: String.t()

Specs

port(pid()) :: non_neg_integer()

Specs

service_provider(pid()) :: PactElixir.ServiceProvider.t()
Link to this function

write_pact_file(mock_server_pid)

View Source