summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-05-11 14:58:11 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-05-11 14:58:11 -0400
commit2940ec448807e5e7d16f90e8341124c0dc49cdb1 (patch)
treef7b7b4805fefbda0353a391807ac977fbb9ef5c4
parent5d817c4371d3d1a8a64102abdb897a961e4ccda2 (diff)
parent12e9089f7d99af2227fe2da1a0699c25c4581339 (diff)
Merge pull request #424 from talentdeficit/sample_config_update
update `rebar.config.sample` with correct config keys for `ct`, `eunit` and `cover`
-rw-r--r--rebar.config.sample31
1 files changed, 14 insertions, 17 deletions
diff --git a/rebar.config.sample b/rebar.config.sample
index aae692b..10d277e 100644
--- a/rebar.config.sample
+++ b/rebar.config.sample
@@ -62,9 +62,20 @@
%% Additional compile options for eunit. erl_opts is also used
{eunit_compile_opts, []}.
-%% Same as erl_first_files, but used only when running 'eunit'
+%% Files to compile first when compiling eunit test suites
{eunit_first_files, []}.
+%% == Common Test ==
+
+%% Options to pass to ct:run_test/1
+{ct_opts, [{logdir, "logs"}, {dir, "test"}]}.
+
+%% Additional compile options for ct. erl_opts is also used
+{ct_compile_opts, []}.
+
+%% Files to compile first when compiling ct test suites
+{ct_first_files, []}.
+
%% == Cover ==
%% Whether to enable coverage reporting. Default is `false'
@@ -73,22 +84,8 @@
%% Whether to print coverage report to console. Default is `false'
{cover_print_enabled, false}.
-%% Whether to export coverage report to file. Default is `false'
-{cover_export_enabled, false}.
-
-%% == Common Test ==
-
-%% Override the default "test" directory in which SUITEs are located
-{ct_dir, "itest"}.
-
-%% Override the default "logs" directory in which SUITEs are logged
-{ct_log_dir, "test/logs"}.
-
-%% Option to pass extra parameters when launching Common Test
-{ct_extra_params, "-boot start_sasl -s myapp"}.
-
-%% Option to use short names (i.e., -sname test) when starting ct
-{ct_use_short_names, true}.
+%% Directory to store collected cover data
+{cover_data_dir, "cover"}.
%% What dependencies we have, dependencies can be of 3 forms, an application
%% name as an atom, eg. mochiweb, a name and a version (from the .app file), or