Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
clojure test example
(ns blah.test-mystuff
(:use clojure.test))
(defn my-fixture [f]
(println "setup")
(f)
(println "tear down"))
(use-fixtures :each my-fixture)
(deftest mytest
(is (= 1 (+ 1 0))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.