Test operations and related functionality.
Test operations and related functionality.
(apply-ops! system ops)
Apply a sequence of operations to a system, returning a vector of pairs of the operations with their results.
Apply a sequence of operations to a system, returning a vector of pairs of the operations with their results.
(run-ops! latch system thread-id ops)
Applies a sequence of operations in a separate thread. Returns a promise for the results of the application.
Applies a sequence of operations in a separate thread. Returns a promise for the results of the application.
(run-threads! system op-seqs)
Run each of the given operation sequences in a separate thread. Returns a vector of the operation results for each thread.
Run each of the given operation sequences in a separate thread. Returns a vector of the operation results for each thread.
Protocol for a test operation on a system.
Protocol for a test operation on a system.
(apply-op operation system)
Apply the operation to the system, returning a result value.
Apply the operation to the system, returning a result value.
(check operation model result)
Validate an operation given the model state and the response from the
system being tested. May include clojure.test/is
assertions, and should
return a boolean value indicating overall success or failure.
Validate an operation given the model state and the response from the system being tested. May include `clojure.test/is` assertions, and should return a boolean value indicating overall success or failure.
(update-model operation model)
Apply an update to the model based on the operation.
Apply an update to the model based on the operation.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close