summaryrefslogtreecommitdiff
path: root/rebar.config.sample
diff options
context:
space:
mode:
authorLuis Rascão <luis.rascao@gmail.com>2016-02-12 13:15:30 +0000
committerLuis Rascão <luis.rascao@gmail.com>2016-03-14 12:06:28 +0000
commit4802c0a6cac1aae2a6fc43a57d6cbd5c09fc4050 (patch)
treeb54fc2a2a59f99095cd1b15c069408c26190b079 /rebar.config.sample
parent13a570ed93220564460562e07fda9d90a0dd18dd (diff)
downloadrebar-4802c0a6cac1aae2a6fc43a57d6cbd5c09fc4050.tar.gz
Optionally look for ct .spec files in the ct_dir that was specified
Allow to change existing behaviour which is to find all .spec files recursively in the current working directory through a new rebar.config option: {ct_search_specs_from_test_dir, true} This is confusing since the user explicitly stated the location for his spec files and negates the possibility to have different spec'ed suites for different environment. Also fix the node name generation on the ct test run, append a random number that will reduce chances of name collisions on epmd.
Diffstat (limited to 'rebar.config.sample')
-rw-r--r--rebar.config.sample4
1 files changed, 4 insertions, 0 deletions
diff --git a/rebar.config.sample b/rebar.config.sample
index 916e47c..224c85c 100644
--- a/rebar.config.sample
+++ b/rebar.config.sample
@@ -148,6 +148,10 @@
%% Option to use short names (i.e., -sname test) when starting ct
{ct_use_short_names, true}.
+%% Recursively search for .spec files from the test dir, default
+%% is false (ie. the search will be from the current working directory)
+{ct_search_specs_from_test_dir, true}.
+
%% == QuickCheck ==
%% If qc_mod is unspecified, rebar tries to detect Triq or EQC