1.3.0 permalink Arrow_down_16x16

successful?

clojure.test

  • (successful? summary)
Returns true if the given test summary indicates all tests
were successful, false otherwise.

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:757 top

(defn successful?
  "Returns true if the given test summary indicates all tests
  were successful, false otherwise."
  {:added "1.1"}
  [summary]
  (and (zero? (:fail summary 0))
       (zero? (:error summary 0))))
Vars in clojure.test/successful?:
Used in 0 other vars

Comments top

No comments for successful?. Log in to add a comment.