A Leiningen plugin that runs Java tests via JUnit.
Via Clojars: http://clojars.org/lein-junit
(defproject sample-project "0.0.1-SNAPSHOT"
:min-lein-version "2.0.0"
:dependencies [[org.clojure/clojure "1.4.0"]]
:profiles {:dev {:dependencies [[junit/junit "4.10"]]}}
:plugins [[lein-junit "1.0.2-SNAPSHOT"]]
:source-paths ["src/clojure"]
:java-source-paths ["src/java" "test/java"]
:junit ["test/java"]
:jvm-opts ["-XX:MaxPermSize=128m"])
Run all junit tests.
lein junit
Run all junit tests matching a pattern.
lein junit com.example
Copyright (C) 2013 Florian Ebeling, Roman Scherer
Distributed under the Eclipse Public License, the same as Clojure.