Module escalus_ct

Function Index

add_log_link/3This module abstracts away the calls to Common Test.
fail/1
get_config/1
log_error/2
log_stanza/3

Function Details

add_log_link/3

add_log_link(Heading::any(), File::any(), Type::any()) -> ok | false

This module abstracts away the calls to Common Test.

The module doesn't try to simulate all of them as, in general, the user should be aware whether the code he/she writes is run within a Common Test suite or not.

Where applicable functions return false if Common Test is not available and the value of the inner call to Common Test otherwise.

fail/1

fail(Reason::any()) -> no_return()

get_config/1

get_config(Required::any()) -> any() | undefined | no_return()

log_error/2

log_error(Format, Args) -> any()

log_stanza/3

log_stanza(Jid::undefined | binary(), Direction::in | out, Stanza::exml_stream:element()) -> ok


Generated by EDoc