test.check used to be called simple-check.
In order to migrate from simple-check to test.check, you'll need to do two things:
Update project.clj
In your project.clj replace [reiddraper/simple-check "0.5.6"] with
[org.clojure/test.check "0.6.2"] (note: your version numbers may be
different).
Update namespace declarations
Update your namespaces: simple-check.core becomes clojure.test.check (note
the dropping of 'core'). For everything else you can simply replace simple-check
with clojure.test.check. Let's make it easy:
find test -name '*.clj' -print0 | xargs -0 sed -i.bak \
-e 's/simple-check.core/clojure.test.check/' \
-e 's/simple-check/clojure.test.check/'
Review the updates.
Can you improve this documentation? These fine people already did:
Reid Draper & Gary FredericksEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |