avow (verb)
to declare openly, bluntly, and without shame
Tests shouldn't break when you make non-breaking code changes. By using a more open definition of equality we can achieve declarative code that focuses on the essence of an assertion and ignores incidentals.
(require '[avow.core :refer :all])
(def successful-response {:status 200 :body some?})
(deftest http-test
(is (avow successful-response (http/get "http://my-app:3000"))))
I learned about motif halfway through writing Avow. I decided to write it anyway because I think protocols are a better (open to extension) implementation decision.
This project is licensed under MIT license.