From 3fa202397bed4281596616eb61cd4c66360ce415 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Tue, 1 Mar 2016 15:22:03 -0800 Subject: add a link to the docs about `test_spec` and `cover` in ct warnings --- src/rebar_prv_common_test.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 99b1d8b..12dbec9 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -165,9 +165,9 @@ cfgopts(State) -> ensure_opts([], Acc) -> lists:reverse(Acc); ensure_opts([{test_spec, _}|_Rest], _Acc) -> - ?PRV_ERROR({badconfig, "Test specs not supported"}); + ?PRV_ERROR({badconfig, "Test specs not supported. See http://www.rebar3.org/docs/running-tests#common-test"}); ensure_opts([{cover, _}|_Rest], _Acc) -> - ?PRV_ERROR({badconfig, "Cover specs not supported"}); + ?PRV_ERROR({badconfig, "Cover specs not supported. See http://www.rebar3.org/docs/running-tests#common-test"}); ensure_opts([{auto_compile, _}|_Rest], _Acc) -> ?PRV_ERROR({badconfig, "Auto compile not supported"}); ensure_opts([{suite, Suite}|Rest], Acc) when is_integer(hd(Suite)) -> -- cgit v1.1