Closed elzibubble closed 5 years ago
Can you provide a list of the dependencies you're using? Are you using the latest version of test.check?
org.clojure/test.check "0.9.0" seems to still be latest.
Updating org.clojure/spec.alpha to "0.2.176" didn't obviously change behaviour at all.
φ tempest 189.3=% lein deps :tree ~/w/ccm/library/ccm-spec 13:39:32
Possibly confusing dependencies found:
[org.clojure/spec.alpha "0.1.143"]
overrides
[org.clojure/clojure "1.10.0"] -> [org.clojure/spec.alpha "0.2.176"]
Consider using these exclusions:
[org.clojure/clojure "1.10.0" :exclusions [org.clojure/spec.alpha]]
[cljfmt "0.6.4" :scope "test"]
[com.googlecode.java-diff-utils/diffutils "1.3.0" :scope "test"]
[org.clojure/tools.cli "0.3.7" :scope "test"]
[org.clojure/tools.reader "1.2.2" :scope "test"]
[rewrite-clj "0.6.0" :scope "test"]
[rewrite-cljs "0.4.4" :scope "test"]
[org.clojure/clojurescript "1.7.228" :scope "test" :exclusions [[org.apache.ant/ant]]]
[com.google.javascript/closure-compiler "v20151216" :scope "test"]
[org.clojure/data.json "0.2.6" :scope "test"]
[org.clojure/google-closure-library "0.0-20151016-61277aea" :scope "test"]
[org.clojure/google-closure-library-third-party "0.0-20151016-61277aea" :scope "test"]
[org.mozilla/rhino "1.7R5" :scope "test"]
[clojure-complete "0.2.5" :exclusions [[org.clojure/clojure]]]
[clojurewerkz/money "1.10.0"]
[org.joda/joda-money "0.10.0"]
[io.aviso/pretty "0.1.34" :scope "test"]
[nrepl "0.5.3" :exclusions [[org.clojure/clojure]]]
[nrepl/bencode "1.0.0"]
[org.clojure/clojure "1.10.0"]
[org.clojure/core.specs.alpha "0.2.44"]
[org.clojure/spec.alpha "0.1.143"]
[org.clojure/test.check "0.9.0"]
[pjstadig/humane-test-output "0.8.3" :scope "test"]
φ tempest 189.3=% lein deps :plugin-tree ~/w/ccm/library/ccm-spec 13:39:45
[lein-cljfmt "0.6.4"]
[cljfmt "0.6.4"]
[com.googlecode.java-diff-utils/diffutils "1.3.0"]
[org.clojure/clojure "1.8.0"]
[org.clojure/tools.cli "0.3.7"]
[org.clojure/tools.reader "1.2.2"]
[rewrite-clj "0.6.0"]
[rewrite-cljs "0.4.4"]
[org.clojure/clojurescript "1.7.228" :exclusions [[org.apache.ant/ant]]]
[com.google.javascript/closure-compiler "v20151216"]
[org.clojure/data.json "0.2.6"]
[org.clojure/google-closure-library "0.0-20151016-61277aea"]
[org.clojure/google-closure-library-third-party "0.0-20151016-61277aea"]
[org.mozilla/rhino "1.7R5"]
[lein-eftest "0.5.7"]
[lein-try "0.4.3"]
[org.clojars.lxsli/lein-test-out "0.3.2"]
[org.clojure/tools.namespace "0.2.3"]
Try updating test.check to 0.10.0-alpha3.
Huh, that fixed it!
test.check tries to inject some methods into the report
var, assuming that it's a multimethod, which isn't always true as it can be dynamically overridden. The alpha version of test.check fixes that issue.
Closing as I guess this is a test.check issue
I'm getting an error when I run
lein eftest
that I don't see from justlein test
. I've set:eftest {:multithread? false}
, any ideas for what else this could be please? This project uses clojure.spec.alpha, it's possible I made a mistake in my spec which is the ultimate root cause. In this case - well done eftest for finding it whenlein test
didn't, but please can you be more helpful about where the issue was? My code doesn't appear in the stack trace at all. I can't absolutely rule out test ordering issues but I'd be Very Surprised. Our tests just aren't that complicated, there aren't any atoms or use of@
.