Skip to content

Instantly share code, notes, and snippets.

@bhenry
Forked from stuarthalloway/Test from the REPL
Created June 8, 2010 17:16
Show Gist options
  • Save bhenry/430329 to your computer and use it in GitHub Desktop.
Save bhenry/430329 to your computer and use it in GitHub Desktop.
(do
(use 'clojure.test)
(defn re-test [ns]
(remove-ns ns)
(require :reload-all ns)
(run-tests ns)))
;; pick a namespace
(re-test 'clojure.test-clojure.other-functions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment