ESpec
The ESpec basic module. Imports a lot of ESpec components.
One should use the module in spec modules.
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
Adds example to the agent.
Allows to set the config options. ESpec.configure(fn(config) -> config.key value config.another_key another_value end)
Runs the examples
Returns all examples.
Starts ESpec. Starts agents to store specs, mocks, cache ‘let’ values, etc.
Stops ESpec components