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 builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close