example()
method yields too simple values in strategies
#3182
Labels
legibility
make errors helpful and Hypothesis grokable
Hi!
Thanks for the library, it looks promising to newcomer :)
I was just learning your API and found that results of
example()
call are really too simple. Noticed the issue when playing withrecursive
strategy. Given the code from docs and lot of samples I haven't really seen something more complex than{'':[None]}
, most of values are simply{}, None or []
, there are very few floats as well.I understand its simplified to be more informative but currently its simplified to the extent that wasn't much helpful. At the end I used
given()
decorator and results were as expected.The text was updated successfully, but these errors were encountered: