我會從https://github.com/arohner/lein-test-out/或https://clojars.org/org.clojars.jaley/lein-test-out雷音和雷音測試出插件
喜歡使用雷音測試出插件但是當我使用[雷音測試出「0.1.0」在dev亡dependecty沒什麼heppens,當我使用
:配置文件{:開發{ :依賴[JUnit的/ JUnit的 「4.10」] [雷音/測試出 「0.2.0」]] :插件[ lein-test-out「0.2.0」]]
我得到: leiningen.test出裝問題:無法找到的Clojure /的contrib/find_namespaces__init.class或Clojure的/的contrib/find_namespaces.clj類路徑:
完全project.clj:
(defproject dataserver "0.1.0-SNAPSHOT"
:aot [#"a\.b\..*"]
:omit-source true
:warn-on-reflection true
:min-lein-version "2.0.0"
:source-paths ["src-clj"]
:resource-paths ["/home/storm/storm/conf/storm.yaml" "resources"]
:uberjar-name "b.jar"
:uberjar-exclusions [#"log4j.properties"]
:main a.b.repl
:ring {:handler a.b.topmanager.core/app}
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/data.json "0.1.3"]
[org.clojure/data.priority-map "0.0.1"]
[com.rabbitmq/amqp-client "2.8.4"]
[org.scribe/scribe "1.3.1"]
[http.async.client "0.4.5"]
[org.clojure/tools.logging "0.2.4"]
[clj-redis "0.0.12"]]
:profiles {:dev {
:dependencies [[storm "0.7.3" :exclusions [org.clojure/tools.loggin org.clojure/tools.cli compojure hiccup
ring/ring-jetty-adapter backtype/jzmq]]
[org.clojure/data.xml "0.0.6"]
[org.clojure/data.zip "0.1.1"]
[compojure "1.0.4"]
[ring/ring-jetty-adapter "1.1.1"]
[org.slf4j/slf4j-log4j12 "1.6.6"]
[junit/junit "4.10"]
[org.clojars.jaley/lein-test-out "0.1.1-SNAPSHOT"]]
:plugins [[lein-ring "0.6.7"]
[lein-test-out "0.1.1"]]
}}
:jvm-opts ["-Dfile.encoding=UTF-8"
"-Dstorm.jar=target/b.jar"]
:repl-options {:timeout 60000})