From: Siraaj Khandkar Date: Tue, 12 Aug 2014 18:17:40 +0000 (-0400) Subject: Set-up testing skeleton. X-Git-Tag: 1.0.0~25 X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=56b05e819f4531cdd2f32fa1054c9297436877b4;p=hope.git Set-up testing skeleton. --- diff --git a/.gitignore b/.gitignore index fc83a9a..76b3746 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ ebin/ +logs/ +test/*.beam diff --git a/Makefile b/Makefile index 732cd85..3104462 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,8 @@ fresh-build \ compile \ clean \ - dialyze + dialyze \ + test fresh-build: \ clean \ @@ -16,3 +17,6 @@ clean: dialyze: @dialyzer ebin + +test: + @rebar ct skip_deps=true --verbose=0 diff --git a/test/hope_kv_list_SUITE.erl b/test/hope_kv_list_SUITE.erl new file mode 100644 index 0000000..65d4d1f --- /dev/null +++ b/test/hope_kv_list_SUITE.erl @@ -0,0 +1,35 @@ +-module(hope_kv_list_SUITE). + +%% Callbacks +-export( + [ all/0 + , groups/0 + ]). + +%% Test cases +-export( + [ + ]). + + +-define(GROUP_KV_LIST, kv_list). + + +%% ============================================================================ +%% Common Test callbacks +%% ============================================================================ + +all() -> + [{group, ?GROUP_KV_LIST}]. + +groups() -> + Tests = + [ + ], + Properties = [], + [{?GROUP_KV_LIST, Properties, Tests}]. + + +%% ============================================================================= +%% Test cases +%% =============================================================================