Skip to content

Conversation

@igalic
Copy link

@igalic igalic commented Jan 25, 2018

start replacing (or enhancing) our existing tests with property tests!

igalic added 7 commits August 29, 2018 17:13
thanks to the helpful people of the community, we now have a working
property test:
  https://elixirforum.com/t/how-to-create-a-custom-streamdata-generator/11935/3
generally, bind() is the way to create custom generators. But I couldn't
figure this out from the documentation!
Maybe it'll get fixed by elixir 1.7 :D
…ests

setup being an ExUnit macro is only called once, so we pull its body
into an extra function which we can call when needed.

We've discovered that `async: true` does nothing for ExUnitProperties,
so one of the tests is commented out for now.

We've also split the use-case driven unit test into a better property
test shape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant