Liking cljdoc? Tell your friends :D
Clojure only.

midje.experimental


for-allcljmacro

(for-all binding-form & facts)
(for-all name doc-string binding-form opts-map & facts)

Check facts using values generated using test.check

Options :seed used to re-run previous checks :max-size controls the size of generated vlues :num-tests how many times to run the checks

(for-all 'name "doc string" [pos-int gen/s-pos-int] {:num-tests 10} (fact pos-int => integer?))

Check facts using values generated using test.check

Options
:seed       used to re-run previous checks
:max-size   controls the size of generated vlues
:num-tests  how many times to run the checks

(for-all 'name "doc string"
  [pos-int gen/s-pos-int]
  {:num-tests 10}
  (fact pos-int => integer?))
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close