stream_data icon indicating copy to clipboard operation
stream_data copied to clipboard

Data generation and property-based testing for Elixir. 🔮

Results 17 stream_data issues
Sort by recently updated
recently updated
newest added

I'm using `stream_data` to generate a rather large data structure representing an SQL query. I was having problems shrinking the generated examples - it seemed like only minor details like...

Kind:Bug

I would like to see more combinators to create more complex data, in particular a reducer to create data depending on the already generated elements. Background: The reducers could be...

Kind:Discussion
Kind:Feature Request

Hypothesis (the inspiration for all my feature requests), saves the failing test cases in a database, so that they can be tried in other test runs. That way you're confident...

Kind:Discussion
Kind:Feature Request

Hi, I've run into an issue that seems to be caused by an interaction between this library and the ElixirLS debugger. In a brand new project with no dependencies besides...

Kind:Needs more info

https://github.com/elixir-lang/elixir/pull/14448 @whatyouhide feel free to add if the above PR is actually added to Elixir.

Testing some edge cases I came across an unexpected behaviour of [float](https://github.com/whatyouhide/stream_data/blob/v1.1.2/lib/stream_data.ex#L1671) `StreamData.float()` will include `0.0` when: - negative `min` and `max` - `max` approaching 0.0 (but not touching it)...

Kind:Bug

Computing floats when given bounds such as min -9.9e15 and max -1 will result in the computation `-1.0 - -9.9e15` yielding 9900000000000000.0 instead of 9899999999999999.0, which makes the generator return...