String lengths when using the text() strategy?

9 views
Skip to first unread message

Jens Troeger

unread,
Dec 28, 2022, 5:06:29 PM12/28/22
to Hypothesis users
Hello,

Without specifying min_size and max_size for the text() strategy, which values are being created by that strategy?

Is it possible to “hint” that I’d like one or more examples longer than a max_size or shorter than a min_size (to drive testing down a certain code path)? Or should I combine strategies to achieve that?

Much thanks!
Jens
Reply all
Reply to author
Forward
0 new messages