Generation Size
Explore how generation size influences the complexity of generated data in property-based testing with Elixir's StreamData. Understand how integers and other data types vary in size and complexity, learn the role of generation size in controlling outputs, and discover techniques like StreamData.resize to manage test data complexity effectively.
Getting to know generator size
If we take a few elements out of a generator like StreamData.integer/0, we’ll notice that those integers are simple, that is, they are small integers centered around zero. Now, ...