As the docstring for check notes:
"The opts map includes the following optional keys, where stc
aliases clojure.spec.test.check:
::stc/opts opts to flow through test.check/quick-check
:gen map from spec names to generator overrides"
So the opts map would be like:
(stest/check `myfunc {:clojure.spec.test.check/opts {:num-tests 2}})
On Wednesday, August 3, 2016 at 9:34:11 AM UTC-5, Burt wrote:
>
> Hi,
>
> (stest/check `myfunc) runs very, very long
>
> so i tried
>
> (stest/check `myfunc {:num-tests 2})
>
> but unfortunately that does not restrict the number of test.
>
> Can anybody help?
>
> Kind regards, Burt
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.