Liking cljdoc? Tell your friends :D

test.check

test.check is a Clojure property-based testing tool inspired by QuickCheck. The core idea of test.check is that instead of enumerating expected input and output for unit tests, you write properties about your function that should hold true for all inputs. This lets you write concise, powerful tests.

Latest Releases

  • Release notes for each version are available in CHANGELOG.markdown
    • Remember that prior to version 0.5.7, test.check was called simple-check
  • As of version 0.9.0, test.check requires Clojure >= 1.7.0
  • Please note a breaking change for ClojureScript in the 0.8.* releases.

Latest Version

Leiningen

[org.clojure/test.check "0.10.0"]

Maven

<dependency>
  <groupId>org.clojure</groupId>
  <artifactId>test.check</artifactId>
  <version>0.10.0</version>
</dependency>

Stable Version

Leiningen

[org.clojure/test.check "0.10.0"]

Maven

<dependency>
  <groupId>org.clojure</groupId>
  <artifactId>test.check</artifactId>
  <version>0.10.0</version>
</dependency>

If you'd like to try a SNAPSHOT version, add the sonatype repository to your project.

Miscellaneous

YourKit

YourKit

YourKit is kindly supporting test.check and other open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of innovative and intelligent tools for profiling Java and .NET applications. Take a look at YourKit's leading software products:

License

Copyright © 2014 Rich Hickey, Reid Draper and contributors

Distributed under the Eclipse Public License, the same as Clojure.

Can you improve this documentation? These fine people already did:
Reid Draper, Gary Fredericks, Mike Fikes, Sean Corfield, David Nolen, Alan Dipert, fredericksgary & Spiros Eliopoulos
Edit on GitHub

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

× close