From 56b05e819f4531cdd2f32fa1054c9297436877b4 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Tue, 12 Aug 2014 14:17:40 -0400 Subject: [PATCH] Set-up testing skeleton. --- .gitignore | 2 ++ Makefile | 6 +++++- test/hope_kv_list_SUITE.erl | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 test/hope_kv_list_SUITE.erl 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 +%% ============================================================================= -- 2.20.1