[erlang-questions] Best way to integrate QuickCheck and rebar
Tue May 31 16:29:45 CEST 2011
On Tue, May 31, 2011 at 11:02 AM, Tim Watson <> wrote:
> On 30 May 2011 19:48, Francis Joanis <> wrote:
>> I am new to both rebar and QuickCheck and I'm looking for a way to have
>> rebar invoke my QuickCheck tests. The only thing I've found so far is to
>> have an eunit test invoke QuickCheck from within its test.
>> What would be the best way to achieve this?
> Embedding your PropEr/QuickCheck tests in eunit and/or common_test
> suites is the best thing to do right now, because both these options
> afford you test+main code compilation support, code coverage and test
> report generation. There is no direct way to run PropEr/QuickCheck
> properties with rebar, and whilst it's possible to write a plugin to
> do this, there's quite a lot of work involved (take the rebar_eunit
> module as an example of what needs to be done).
There is a rebar branch with PropEr/QuickCheck support available at:
More information about the erlang-questions