X-Git-Url: https://git.xandkar.net/?p=hope.git;a=blobdiff_plain;f=test%2Fhope_result_SUITE.erl;h=4f16b64c54841344bcdff348e754269787d0d0d2;hp=de6a7bbd49426044d6515dbbe38411c1ad014b86;hb=8bbf6f4d400d79736e7866d67ecb3517b61bb1c1;hpb=5bf3cf5421035240626613376c05644c8bd27908 diff --git a/test/hope_result_SUITE.erl b/test/hope_result_SUITE.erl index de6a7bb..4f16b64 100644 --- a/test/hope_result_SUITE.erl +++ b/test/hope_result_SUITE.erl @@ -1,5 +1,7 @@ -module(hope_result_SUITE). +-include_lib("proper/include/proper.hrl"). + %% Callbacks -export( [ all/0 @@ -12,6 +14,7 @@ -export( [ t_pipe_ok/1 , t_pipe_error/1 + , t_hope_result_specs/1 ]). @@ -29,8 +32,9 @@ groups() -> Tests = [ t_pipe_ok , t_pipe_error + , t_hope_result_specs ], - Properties = [], + Properties = [parallel], [{?GROUP_PIPE, Properties, Tests}]. init_per_group(?GROUP_PIPE, Cfg) -> @@ -56,3 +60,6 @@ t_pipe_ok(Cfg) -> t_pipe_error(Cfg) -> {some, Steps} = hope_kv_list:get(Cfg, steps), {error, 1} = hope_result:pipe(Steps, 1). + +t_hope_result_specs(_) -> + [] = proper:check_specs(hope_result).