code.test.base.print

format-diff

added in 4.0

(format-diff diff)

formats a diff

format-diff-map

added in 4.0

(format-diff-map diff indent)

formats a map diff

format-diff-seq

added in 4.0

(format-diff-seq diff indent)

formats a seq diff

print-fact

added in 3.0

(print-fact {:keys [path name ns line desc refer], :as meta} results)

outputs the description for a fact form that contains many statements

print-failed

added in 4.1

(print-failed {:keys [name actual check parent checker on-error], :as summary})

prints failed info

print-on-error

added in 4.1

(print-on-error color on-error)

prints debug info

print-preliminary

added in 4.1

(print-preliminary title color {:keys [path name ns line desc form original check], :as summary})

prints preliminary info

print-success

added in 3.0

(print-success {:keys [name check], :as summary})

outputs the description for a successful test

print-summary

added in 3.0

(print-summary {:keys [files throw facts checks passed failed timeout queued], :as result})

outputs the description for an entire test run

print-throw

added in 4.1

(print-throw {:keys [name data on-error], :as summary})

prints throw info

print-timeout

added in 4.0

(print-timeout {:keys [name data actual check parent], :as summary})

prints timeout info