You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that by having set maxLength = 1000 as part of json schema the generated strings have size 40-60 characters max even after generating 10000 samples.
Is there any configuration I am missing that is restricting the size of the string?
How can I stress the string size to its limit?
Thank you in advance
Apostolos
The text was updated successfully, but these errors were encountered:
aplastiras
changed the title
Limited string length sample
Limited string size sample
Mar 9, 2022
This is a result of Hypothesis' underlying design, and unfixable without making it radically less effective at finding bugs on realistic problems with eg nested schemas. There's also no config that would touch this; the internal average_size param is, well, internal.
So my advice is the remarkably unhelpful "don't worry about it, it's fine" 😕
Hi,
I am using hypothesis-jsonschema to generate test sample data :
I am using custom_formats for string data as shown below:
The issue is that by having set
maxLength = 1000
as part of json schema the generated strings have size 40-60 characters max even after generating 10000 samples.Is there any configuration I am missing that is restricting the size of the string?
How can I stress the string size to its limit?
Thank you in advance
Apostolos
The text was updated successfully, but these errors were encountered: