API Reference PactElixir v0.5.2-rc.8

Modules

Documentation for PactElixir.

This module can be imported to create and start a mock server with the usual Pact DSL.

Currently this is the whole error handling stuff.

Defines the expected interactions with a provider.

GenServer callbacks for managing a pact mock server. Used in conjunction with PactMockServer.

Supervises PactMockServers so that they can be controlled even after the test suite has finished. The Supervisor does not restart a failed PactMockServer as the information like successful requests is stored only there and therefor lost.

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

Represent the expected request.

Represent the expected response.

Adapter for the wrapped rust pact mock server. Functions in this file are replaced by Rustler with their Rust calling counterpart. See native/pactmockserver/src/lib.rs for the concrete Rust implementation. This file is excluded from the coverage tool.

Represent the remote part (server/provider) for the expected interactions.

Allow to match against a type instead of an exact value.