This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-03
Channels
- # aleph (1)
- # beginners (42)
- # boot (34)
- # cider (157)
- # cljs-dev (12)
- # cljsrn (3)
- # clojure (165)
- # clojure-conj (1)
- # clojure-india (1)
- # clojure-italy (6)
- # clojure-russia (20)
- # clojure-spec (27)
- # clojure-uk (173)
- # clojurescript (116)
- # cursive (30)
- # datomic (87)
- # devcards (1)
- # docs (9)
- # emacs (2)
- # ethereum (2)
- # events (2)
- # fulcro (60)
- # graphql (10)
- # hoplon (2)
- # jobs-rus (6)
- # keechma (1)
- # lein-figwheel (9)
- # leiningen (36)
- # luminus (2)
- # mount (3)
- # off-topic (16)
- # om (14)
- # onyx (12)
- # pedestal (19)
- # portkey (107)
- # re-frame (9)
- # reagent (5)
- # ring (26)
- # shadow-cljs (149)
- # spacemacs (3)
- # sql (6)
@narek @pelletier Are you still experiencing the problem where you don’t get the test difference link?
@pelletier Do you have venantius/ultra
, or humane-test-output
, or anything similar as an nREPL plugin?
@U0567Q30W that fixes it for me
@U0567Q30W works for me too!
@U050MP39D @pelletier Thanks for letting me know! The problem is humane-test-output
, which ultra installs.
I’m curious - I thought that Cursive provided everything that ultra does out of the box. Is there anything you wanted it to do that Cursive doesn’t?
Cursive should do that too - if you have aviso/pretty
installed and loaded, Cursive will use it.
I don't always use cursive for a repl, ie using boot to quickly launch a repl with a different version of clojure for testing things
though shouldn't cursive prompt to add aviso/pretty if you don't have it or something?
Ok. I’m actually adding a warning message for this case now - you can actually disable humane-test-output by adding an env var INHUMANE_TEST_OUTPUT
Well, Cursive will also use clj-stacktrace or fall back to clojure.stacktrace if it can’t find the other two.
Running tests in cursive-1865.core-test
Testing cursive-1865.core-test
WARNING: pjstadig/humane-test-output appears to be active.
This library interferes with Cursive's test functionality, in particular test result
diffs. You can disable it in your project.clj, or by setting the INHUMANE_TEST_OUTPUT
environment variable, either in your project.clj or your run configuration.
Ran 2 tests containing 2 assertions.
2 failures, 0 errors.
Although @bfabry’s mention of boot makes me realise I should make that less lein specific.
Getting this error when attempting to generate stubs for my project with Datomic:
Error generating stubs for module command-processor: java.lang.NoSuchMethodError: org.slf4j.helpers.Util.safeGetSystemProperty(Ljava/lang/String;)Ljava/lang/String;
at org.slf4j.impl.VersionUtil.getJavaMajorVersion(VersionUtil.java:11)
at org.slf4j.impl.Log4jMDCAdapter.<clinit>(Log4jMDCAdapter.java:37)
at org.slf4j.impl.StaticMDCBinder.getMDCA(StaticMDCBinder.java:59)
at org.slf4j.MDC.<clinit>(MDC.java:90)
at datomic.slf4j__init.load(Unknown Source)
at datomic.slf4j__init.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at clojure.lang.RT.classForName(RT.java:2186)
at clojure.lang.RT.classForName(RT.java:2195)
at clojure.lang.RT.loadClassForName(RT.java:2214)
at clojure.lang.RT.load(RT.java:450)
at clojure.lang.RT.load(RT.java:426)
at clojure.core$load$fn__6542.invoke(core.clj:6047)
at clojure.core$load.invokeStatic(core.clj:6046)
at clojure.core$load.doInvoke(core.clj:6030)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invokeStatic(core.clj:5849