I put together a blog post about writing custom assertions by extending clojure.test assert-expr
, along with pointers in making them portable in Clojure and ClojureScript. A lot of this information is out there in various places: I wrote this to consolidate the techniques and get it straight for myself. Hopefully others will find it useful as well.
http://seespotcode.net/2018/01/13/portable-clojure-test-assert-expr/