This Namespace provides property generators for verifying compliance with the KVDB protocol.
Usage:
(defspec my-custom-kvdb
(verification/kvdb-properties my-kvdb-generator))
This Namespace provides property generators for verifying compliance with the KVDB protocol. Usage: ``` (defspec my-custom-kvdb (verification/kvdb-properties my-kvdb-generator)) ```
(and-let & checks-and-bindings)A macro for mixing bindings and tests.
(and-let [a (do something)] (is (number? a)) [b (do something else)] (is (string? b)))
A macro for mixing bindings and tests. (and-let [a (do something)] (is (number? a)) [b (do something else)] (is (string? b)))
(instrument-kvdb!)(instrument-kvdb! sym-or-syms)Similar to clojure.spec.test.alpha/instrument! but conforms and validates both input and output using :args, :ret, & :fn specs.
Similar to clojure.spec.test.alpha/instrument! but conforms and validates both input and output using :args, :ret, & :fn specs.
(instrument-var! v)Similar to clojure.spec.test.alpha/instrument! but conforms and validates both input and output using :args, :ret, & :fn specs.
Similar to clojure.spec.test.alpha/instrument! but conforms and validates both input and output using :args, :ret, & :fn specs.
(mutable-kvdb-properties)(mutable-kvdb-properties key-generator value-generator)A test for MutableKVDB properties that can be bound to a KVDB generator.
A test for MutableKVDB properties that can be bound to a KVDB generator.
Test properties of Overridable KVDBs
Test properties of Overridable KVDBs
A test for PaginagedKVDB properties that can be bound to a KVDB generator.
A test for PaginagedKVDB properties that can be bound to a KVDB generator.
A test for ReadableKVDB properties that can be bound to a KVDB generator.
A test for ReadableKVDB properties that can be bound to a KVDB generator.
(transact-kvdb-properties)(transact-kvdb-properties key-generator value-generator)Properties of kvdb/transact! for MutableKVDB instances.
Properties of kvdb/transact! for MutableKVDB instances.
(unstrument-kvdb!)(unstrument-kvdb! sym-or-syms)Removes spec instrumentation installed by instrument-kvdb!
Removes spec instrumentation installed by instrument-kvdb!
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 |