Closed johanhaleby closed 8 years ago
I've also tried it with version Leiningen 2.5.3, same result
The error makes me think there is something off with the dependencies vector in the project.clj. what does your project.clj look like?
On Mon, Mar 7, 2016, 00:45 Johan Haleby notifications@github.com wrote:
I've also tried it with version Leiningen 2.5.3
— Reply to this email directly or view it on GitHub https://github.com/jakemcc/lein-test-refresh/issues/51#issuecomment-193126321 .
Thanks for your response. My project.clj
looks like this:
(defproject fake-http "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:min-lein-version "2.0.0"
:dependencies [[com.squareup.okhttp3/mockwebserver "3.2.0"]]
:profiles {:dev {:dependencies [[org.clojure/clojure "1.8.0"]
[speclj "3.3.0"]
[cheshire "5.5.0"]
[clj-http-lite "0.3.0"]]}}
:plugins [[codox "0.6.3"]
[speclj "3.3.0"]])
Used your project.clj to look into the problem. The issue is codox "0.6.3"
is depending on an old version of leinjacker
that has incorrect assertions in it.
If you change [codox "0.6.3"]
to [lein-codox "0.9.4"]
then it starts using leinjacker 0.4.2 which has correct assertions for project.clj shape.
I haven't really explored it before but I'm unsure how test-refresh is going to interact with speclj. Speclj is a fairly different testing library than clojure.test
.
Thanks a lot for your help, I can confirm that it works. I'm migrating away from speclj so it was just a mistake that it was still laying around in project.clj
.
I'm using Leiningen 2.6.1 and lein-test-refresh 0.14.0 but running:
lein test-refresh
on my project yields:Just running
lein test
works fine.