(ns discuss.test.lib
  (:require [cljs.pprint :as pprint]
            [cljs.test :refer-macros [is]]))

(defn- summarize-results' [spec-check]
  (doall (map #(-> % :clojure.test.check/ret pprint/pprint) spec-check)))

(defn check' [spec-check]
  (summarize-results' spec-check)
  (is (nil? (-> spec-check first :failure))))

(ns discuss.test.lib
  (:require [cljs.pprint :as pprint]
            [cljs.test :refer-macros [is]]))

(defn- summarize-results' [spec-check]
  (doall (map #(-> %
                   (select-keys [:clojure.test.check/ret :sym])
                   vals
                   pprint/pprint) spec-check)))

(defn check' [spec-check]
  (summarize-results' spec-check)
  (is (nil? (-> spec-check first :failure))))

Add name of fn which was automatically tested
Add name of fn which was automatically tested

hhucn/discuss,hhucn/discuss