Fork me on GitHub
#clojure-spec
<
2017-10-09
>
jwkoelewijn10:10:03

Hi all, does someone know if there is a way to limit generators? I have created specs with generators, and generating a top-level entity now takes multiple seconds, which in turn seems to limit me from using generative testing

gfredericks11:10:55

@jwkoelewijn I'm not familiar with all the entry points, but test.check has a :max-size option that spec will pass through, that you could set to 50 or 15 depending on what you're doing exactly when the multiple-second thing happens

jwkoelewijn11:10:17

cool, will look into that options, thanks!