parroty / excheck

Property-based testing library for Elixir (QuickCheck style).
MIT License
316 stars 26 forks source link

Consider adding syntax as https://github.com/yrashk/properex #1

Closed krestenkrab closed 10 years ago

krestenkrab commented 10 years ago

@yrashk has a very nice syntax, not quite unlike yours. I don't know if his stuff still compiles/works with current syntax, but I like it quite a bit more:

    property simple_forall do
        forall x in integer, do: is_integer(x)
    end

His test/example code is here: https://github.com/yrashk/properex/blob/master/test/proper_test.exs

parroty commented 10 years ago

Thank you for the comment (and the nice library). I agree that it's very nice syntax, I'll be looking around that (I should have checked the properex library before...).

parroty commented 10 years ago

It corresponds to [4dde1e5] at the moment, though it needs more improvement.