wallaby v0.16.1 Wallaby.Query.ErrorMessage

Summary

Functions

Converts a condition into a human readable failure message

Generates failure conditions based on query conditions

Compose an error message based on the error method and query information

Extracts the selector method from the selector and converts it into a human readable format

Converts the visibilty attribute into a human readable form

Functions

condition(arg1)
condition({atom, String.t}) :: String.t | nil

Converts a condition into a human readable failure message.

conditions(opts)
conditions(Keyword.t) :: [String.t]

Generates failure conditions based on query conditions.

help(elements)
message(query, arg2)
message(Wallaby.Query.t, any) :: String.t

Compose an error message based on the error method and query information

method(query)
method(Wallaby.Query.t) :: String.t
method({atom, boolean}) :: String.t

Extracts the selector method from the selector and converts it into a human readable format

method(atom, bool)
result_expectation(result)
short_method(method, count)
visibility(query)
visibility(Wallaby.Query.t) :: String.t

Converts the visibilty attribute into a human readable form.