ESpec

The ESpec basic module. Imports a lot of ESpec components. One should use the module in spec modules.

Source

Summary

add_spec(module)

Adds example to the agent

configure(func)

Allows to set the config options. ESpec.configure(fn(config) -> config.key value config.another_key another_value end)

run()

Runs the examples

specs()

Returns all examples

start()

Starts ESpec. Starts agents to store specs, mocks, cache ‘let’ values, etc

stop()

Stops ESpec components

stop_specs_agent()

Functions

add_spec(module)

Adds example to the agent.

Source
configure(func)

Allows to set the config options. ESpec.configure(fn(config) -> config.key value config.another_key another_value end)

Source
run()

Runs the examples

Source
specs()

Returns all examples.

Source
start()

Starts ESpec. Starts agents to store specs, mocks, cache ‘let’ values, etc.

Source
stop()

Stops ESpec components

Source
stop_specs_agent()
Source