diff options
author | alisdair sullivan <alisdair.sullivan@askuity.com> | 2015-09-13 19:09:22 -0700 |
---|---|---|
committer | alisdair sullivan <alisdair.sullivan@askuity.com> | 2015-09-29 15:28:21 -0700 |
commit | de3651509cddc7e3ef17c974f7fcac268f8668f9 (patch) | |
tree | b2262281b467c13739b4da3176ad3592f984100b | |
parent | 8825e648e5a07f0f4f06cfdf714baa70557485bd (diff) |
add new eunit opts to `rebar.config.sample'
-rw-r--r-- | rebar.config.sample | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/rebar.config.sample b/rebar.config.sample index 37f641f..de70998 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -47,7 +47,7 @@ {ct_compile_opts, []}. %% {erl_first_files, ...} but for CT runs {ct_first_files, []}. -%% Same options as for ct:run_test(...) +%% Same options as for ct:run_test(Opts) {ct_opts, []}. @@ -153,12 +153,14 @@ %% == EUnit == -%% Options for eunit:test(Tests, ...) -{eunit_opts, []}. +%% eunit:test(Tests) +{eunit_tests, [{application, rebar3}]} +%% Options for eunit:test(Tests, Opts) +{eunit_opts, [verbose]}. %% Additional compile options for eunit. erl_opts is also used -{eunit_compile_opts, []}. +{eunit_compile_opts, [{d, some_define}]}. %% {erl_first_files, ...} but for Eunit -{eunit_first_files, []}. +{eunit_first_files, ["test/test_behaviour.erl"]}. %% == Overrides == |