code.test.compile.snippet

fact-setup

added in 3.0

(fact-setup m)

creates a setup hook

fact-slim

added in 3.0

(fact-slim bare)

creates the slim thunk

(fact-slim ’(+ a b))

fact-teardown

added in 3.0

(fact-teardown m)

creates a teardown hook

fact-wrap-ceremony

added in 3.0

(fact-wrap-ceremony {:keys [setup teardown guard], :as m})

creates the setup/teardown wrapper

(fact-wrap-ceremony ’{:setup (prn 1 2 3) :teardown (prn “goodbye”)})

fact-wrap-check

added in 3.0

(fact-wrap-check {:keys [check guard], :as m})

creates a wrapper for before and after arrows