Module ktn_test_utils

Data Types

match_type()

match_type() = exact | partial

response()

response() = #{status => term(), headers => term(), body => term()}

test_subject()

test_subject() = status | headers | body

Function Index

assert_response/4
test_response/4

Function Details

assert_response/4

assert_response(Test::test_subject(), MatchType::match_type(), Params::term(), Response::response()) -> ok

test_response/4

test_response(X1::test_subject(), X2::match_type(), Pattern::term(), Response::term()) -> ok | {error, term()}


Generated by EDoc