elixir_script v0.32.1 ElixirScript.Test.Callbacks View Source

Defines ElixirScript.Test callbacks

Link to this section Summary

Functions

Called before each test is run in a test file

Called before all tests are run in a test file

Called after each test is run in a test file

Called after all tests are run in a test file

Link to this section Functions

Link to this macro setup(context \\ quote() do _ end, contents) View Source (macro)

Called before each test is run in a test file

Link to this macro setup_all(context \\ quote() do _ end, contents) View Source (macro)

Called before all tests are run in a test file

Link to this macro teardown(context \\ quote() do _ end, contents) View Source (macro)

Called after each test is run in a test file

Link to this macro teardown_all(context \\ quote() do _ end, contents) View Source (macro)

Called after all tests are run in a test file

Link to this macro test(message, context \\ quote() do _ end, contents) View Source (macro)

Defines a test