Toggle Sidebar
Toggle Theme
PactElixir
v0.2.0
Pages
Modules
Exceptions
PactElixir v0.2.0
PactElixir.Dsl
View Source
This module can be imported to create and start a mock server with the usual Pact DSL.
Link to this section
Summary
Functions
add_interaction(provider, description, given, request, response)
after_test(provider_pid)
after_test_suite(provider_name)
build(provider)
given(precondition)
mock_server_matched?(provider)
mock_server_mismatches(provider)
service_provider(options \\ %{})
throw_errors(errors)
verify_interactions(provider)
will_respond_with(options)
with_request(options)
Link to this section
Functions
Link to this function
add_interaction(provider, description, given, request, response)
View Source
Link to this function
after_test(provider_pid)
View Source
Link to this function
after_test_suite(provider_name)
View Source
Link to this function
build(provider)
View Source
Link to this function
given(precondition)
View Source
Link to this function
mock_server_matched?(provider)
View Source
Link to this function
mock_server_mismatches(provider)
View Source
Link to this function
service_provider(options \\ %{})
View Source
Link to this function
throw_errors(errors)
View Source
Link to this function
verify_interactions(provider)
View Source
Link to this function
will_respond_with(options)
View Source
Link to this function
with_request(options)
View Source