StreamData Property Testing

Parameterized tests

I was recently lamenting Elixir’s lack of Pytest-like parameterized testing (or at least my inability to find such).

I’d found several examples including ExUnit.Parameterized, but I could not find a solution that output the actual parameters from among hundreds that caused the failed assert.

Maciej Lukksepp (icejam_@hachyderm.io) responded that StreamData property testing should solve the problem, and provided a useful starting point.

[Read More]