Skip to content

Instantly share code, notes, and snippets.

@adstage-david
adstage-david / build.boot
Created September 9, 2016 20:50
Example of Visual Regression test
(require '[visual-regression :as vr])
(deftask compare-screenshots
"Run visual regression specs over the devcards."
(let [tmp (core/tmp-dir!)]
(fn [next-task]
(fn [file-set]
(vr/compare-cards "vr")
(next-task file-set)))))