ESpec v1.7.0 ESpec.AssertionHelpers View Source
Defines helper functions for modules which use ESpec.
These functions wrap arguments for ESpec.ExpectTo module.
See ESpec.Assertion
module for corresponding 'assertion modules'
Link to this section Summary
Link to this section Functions
Link to this function
accepted(func, args \\ :any, opts \\ [pid: :any, count: :any]) View Source
Link to this function
be(value) View Source
Link to this function
be(operator, value) View Source
Link to this function
be(operator, value, arg3) View Source
Link to this function
be_alive() View Source
Link to this function
be_atom() View Source
Link to this function
be_between(min, max) View Source
Link to this function
be_binary() View Source
Link to this function
be_bitstring() View Source
Link to this function
be_blank() View Source
Link to this function
be_boolean() View Source
Link to this function
be_close_to(value, delta) View Source
Link to this function
be_empty() View Source
Link to this function
be_error_result() View Source
Link to this function
be_false() View Source
Link to this function
be_falsy() View Source
Link to this function
be_float() View Source
Link to this function
be_function() View Source
Link to this function
be_function(arity) View Source
Link to this function
be_integer() View Source
Link to this function
be_list() View Source
Link to this function
be_map() View Source
Link to this function
be_nil() View Source
Link to this function
be_number() View Source
Link to this function
be_ok_result() View Source
Link to this function
be_pid() View Source
Link to this function
be_port() View Source
Link to this function
be_printable() View Source
Link to this function
be_reference() View Source
Link to this function
be_struct() View Source
Link to this function
be_struct(name) View Source
Link to this function
be_true() View Source
Link to this function
be_truthy() View Source
Link to this function
be_tuple() View Source
Link to this function
be_valid_string() View Source
Link to this function
change(func) View Source
Link to this function
change(func, value) View Source
Link to this function
change(func, before, value) View Source
Link to this function
contain_exactly(value) View Source
Link to this function
end_with(value) View Source
Link to this function
eq(value) View Source
Link to this function
eql(value) View Source
Link to this function
have(val) View Source
Link to this function
have_all(func) View Source
Link to this function
have_any(func) View Source
Link to this function
have_at(pos, val) View Source
Link to this function
have_byte_size(value) View Source
Link to this function
have_count(value) View Source
Link to this function
have_count_by(func, val) View Source
Link to this function
have_first(value) View Source
Link to this function
have_hd(value) View Source
Link to this function
have_key(value) View Source
Link to this function
have_last(value) View Source
Link to this function
have_length(value) View Source
Link to this function
have_max(value) View Source
Link to this function
have_max_by(func, value) View Source
Link to this function
have_min(value) View Source
Link to this function
have_min_by(func, value) View Source
Link to this function
have_size(value) View Source
Link to this function
have_tl(value) View Source
Link to this function
have_value(value) View Source
Link to this function
match(value) View Source
Link to this function
match_list(value) View Source
Link to this macro
match_pattern(pattern) View Source (macro)
Link to this function
raise_exception() View Source
Link to this function
raise_exception(exception) View Source
Link to this function
raise_exception(exception, message) View Source
Link to this function
start_with(value) View Source
Link to this function
throw_term() View Source
Link to this function