compose-fixtures

clojure.test

  • (compose-fixtures f1 f2)
Composes two fixture functions, creating a new fixture function
that combines their behavior.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/test.clj:665 top

(defn compose-fixtures
  "Composes two fixture functions, creating a new fixture function
  that combines their behavior."
  {:added "1.1"}
  [f1 f2]
  (fn [g] (f1 (fn [] (f2 g)))))
Vars in clojure.test/compose-fixtures:
Used in 0 other vars

Comments top

No comments for compose-fixtures. Log in to add a comment.