Develop 3.1 eqc (#339)
* Add EQC profile Don't run EQC tests, unless specifically requested e.g. `./rebar3 as eqc eunit --module=leveled_eqc` * Remove eqc_cover parse_transform Causes a compilation issue with the assertException in leveled_runner * Allow EQC test to compile EQC only works on OTP 22 for now, but other tests should still work on OTP 22 and OTP 24 * Add more complex statem based eqc test * Add check for eqc profile
This commit is contained in:
parent
46ebc6f8ff
commit
2cb87f3a6e
6 changed files with 1742 additions and 4 deletions
|
@ -805,6 +805,12 @@ wrap_runner(FoldAction, AfterAction) ->
|
|||
|
||||
-ifdef(TEST).
|
||||
|
||||
%% Note in OTP 22 we see a compile error with the assertException if using the
|
||||
%% eqc_cover parse_transform. This test is excluded in the eqc profle, due to
|
||||
%% this error
|
||||
|
||||
-ifdef(EQC).
|
||||
|
||||
throw_test() ->
|
||||
StoppedFolder =
|
||||
fun() ->
|
||||
|
@ -823,6 +829,7 @@ throw_test() ->
|
|||
?assertException(throw, stop_fold,
|
||||
wrap_runner(StoppedFolder, AfterAction)).
|
||||
|
||||
-endif.
|
||||
|
||||
-endif.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue