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:
Martin Sumner 2021-05-26 17:40:09 +01:00 committed by GitHub
parent 46ebc6f8ff
commit 2cb87f3a6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 1742 additions and 4 deletions

View file

@ -18,10 +18,12 @@
{profiles,
[{eqc, [{deps, [meck, fqc]},
{erl_opts, [debug_info, {parse_transform, eqc_cover}]},
{extra_src_dirs, ["test"]}]},
{test, [
{eunit_compile_opts, [{src_dirs, ["src", "test/end_to_end"]}]}
{erl_opts, [debug_info, {d, 'EQC'}]},
{extra_src_dirs, ["test/property"]},
{shell, [{apps, [lz4]}]},
{plugins, [rebar_eqc]}
]},
{test, [{extra_src_dirs, ["test/end_to_end", "test/property"]}
]}
]}.