Welcome! Please see the About page for a little more info on how this works.

0 votes
in Spec by

The lazy-loaded {{clojure.spec.gen.alpha/generate}} function only exposes one parameter of its delegate {{clojure.test.check.generators/generate}}:

(generate generator)

It should perhaps also accept the size parameter of {{clojure.test.check.generators/generate}}:

(generate generator size)

The default size 30 easily leads to {{OutOfMemoryError}} with complex specs.

1 Answer

0 votes
Reference: https://clojure.atlassian.net/browse/CLJ-2389 (reported by glts)