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)))
(defproperty property-name doc context-args generator-bindings & body)(fmap-vals f m)(guard-property p? property)(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.
(instrumentable-kvdb-syms)(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.
(property property-name context-args generator-bindings & body)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!
(unstrument-var! v)(valid-entry? x)(within-context gen-context gen-property)(without-instrumentation & body)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 |