make tests runnable from basic rebar.config for users who have meck on path already

This commit is contained in:
alisdair sullivan 2012-03-06 19:59:49 -08:00
parent b5c2e3757b
commit 5155c96ac7
4 changed files with 8 additions and 3 deletions

View file

@ -1,7 +1,12 @@
%% edit eunit_test_path if you want to run your own tests, use "../" not
%% "./" as rebar changes working dir to .eunit when running tests
{eunit_compile_opts, [{d, eunit_test_path, "../test/cases"}]}.
%% uncomment to get verbose output from test suite
%% {eunit_opts, [verbose]}.
{erl_opts, [
{i, "include"},
{i, "src"},
{src_dirs, ["src"]},
warn_unused_vars,