• (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:752 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.contrib.test-is/successful?: and defn zero?
Used in 0 other vars

Comments top

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