Click here to make these examples interactive with ClojureScript.
Test.check 0.9.1-SNAPSHOT
A QuickCheck inspired property-based testing library.
Installation
To install, add the following dependency to your project or build file:
[org.clojure/test.check "0.9.1-SNAPSHOT"]
Topics
Namespaces
clojure.test.check.generators
Public variables and functions:
- any
- any-printable
- bind
- boolean
- byte
- bytes
- char
- char-alpha
- char-alpha-numeric
- char-alphanumeric
- char-ascii
- choose
- container-type
- double
- double*
- elements
- fmap
- frequency
- generate
- generator?
- hash-map
- int
- keyword
- keyword-ns
- large-integer
- large-integer*
- lazy-random-states
- let
- list
- list-distinct
- list-distinct-by
- map
- nat
- neg-int
- no-shrink
- not-empty
- one-of
- pos-int
- ratio
- recursive-gen
- resize
- return
- s-neg-int
- s-pos-int
- sample
- sample-seq
- scale
- set
- shrink-2
- shuffle
- simple-type
- simple-type-printable
- sized
- sorted-set
- string
- string-alpha-numeric
- string-alphanumeric
- string-ascii
- such-that
- symbol
- symbol-ns
- tuple
- uuid
- vector
- vector-distinct
- vector-distinct-by