A small Clojure & Clojurescript library for verifying asynchronous (promise-returning) test.check properties.
@(promesa-check.core/quick-check 10
(prop/for-all* [gen/int]
(fn [x]
(p/resolved (number? x)))))
=>
{:result true
:num-tests 10
:seed 1482058620269}
(def prop
(prop/for-all* [gen/string]
(fn [s]
(p/delay 1 (= s s)))))
(promesa-check.core/defspec test 100 prop)
promesa-check is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.