Skip to content

Instantly share code, notes, and snippets.

@dgrnbrg
Created April 6, 2012 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgrnbrg/2323127 to your computer and use it in GitHub Desktop.
Save dgrnbrg/2323127 to your computer and use it in GitHub Desktop.
guzheng lein
(ns leiningen.guzheng
(:use [leiningen.compile :only [eval-in-project]])
(:use guzheng.core))
(defn guzheng [project & nses]
(eval-in-project
project `(do
(clojure.test/run-tests 'guzheng.test.core))
'(require 'guzheng.core 'clojure.test)))
(comment(guzheng.core/run-test-instrumented
guzheng.core/trace-if-branches
['guzheng.sample]
'guzheng.test.core))
(guzheng.core/report-missing-coverage)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment