ESpec.Let.Impl (ESpec v1.10.0)

View Source

'let' implementation is here.

Summary

Functions

Clears all let values for the given module. Called by ExampleRunner.

This function is used by the let macro to implement lazy evaluation

Resets stored let value and prepares for evaluation. Called by ExampleRunner.

Starts Agent to save state of 'lets'.

Stops Agent

Updates the shared map that is available to let blocks. Called by ExampleRunner.

Functions

clear_lets(module)

Clears all let values for the given module. Called by ExampleRunner.

let_eval(key_module, var)

This function is used by the let macro to implement lazy evaluation

random_let_name()

run_before(let)

Resets stored let value and prepares for evaluation. Called by ExampleRunner.

start_agent()

Starts Agent to save state of 'lets'.

stop_agent()

Stops Agent

update_shared(shared)

Updates the shared map that is available to let blocks. Called by ExampleRunner.