Current section

Files

Jump to
dream_test include dream_test@runner_RunBuilder.hrl
Raw

include/dream_test@runner_RunBuilder.hrl

-record(run_builder, {
suite_runs :: list(dream_test@runner:suite_run(any())),
config :: dream_test@parallel:parallel_config(),
test_filter :: gleam@option:option(fun((dream_test@types:test_info()) -> boolean())),
should_exit_on_failure :: boolean(),
progress_reporter :: gleam@option:option(dream_test@reporters@progress:progress_reporter()),
results_reporters :: list(dream_test@reporters@types:results_reporter()),
output :: gleam@option:option(dream_test@runner:output()),
runner_before_each_test :: list(fun((dream_test@types:test_info(), any()) -> {ok,
any()} |
{error, binary()})),
runner_after_each_test :: list(fun((dream_test@types:test_info(), any()) -> {ok,
nil} |
{error, binary()})),
runner_before_each_suite :: list(fun((dream_test@types:suite_info()) -> {ok,
nil} |
{error, binary()})),
runner_after_each_suite :: list(fun((dream_test@types:suite_info()) -> {ok,
nil} |
{error, binary()})),
runner_before_all_suites :: list(fun((list(dream_test@types:suite_info())) -> {ok,
nil} |
{error, binary()})),
runner_after_all_suites :: list(fun((list(dream_test@types:suite_info())) -> {ok,
nil} |
{error, binary()}))
}).