This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-19
Channels
- # beginners (59)
- # calva (20)
- # cider (25)
- # clj-kondo (12)
- # cljdoc (3)
- # cljsrn (15)
- # clojure (104)
- # clojure-europe (4)
- # clojure-italy (10)
- # clojure-nl (3)
- # clojure-spec (14)
- # clojure-uk (13)
- # clojurescript (33)
- # code-reviews (26)
- # core-async (1)
- # cursive (5)
- # data-science (3)
- # datomic (8)
- # emacs (3)
- # fulcro (5)
- # graphql (3)
- # hoplon (1)
- # jobs-discuss (4)
- # kaocha (14)
- # nyc (1)
- # off-topic (33)
- # pathom (4)
- # pedestal (2)
- # quil (1)
- # re-frame (5)
- # reagent (10)
- # reitit (6)
- # rewrite-clj (3)
- # shadow-cljs (173)
- # specter (7)
- # sql (4)
- # vim (58)
- # yada (3)
Hi anyone had an issue like this with cursive:
cursive version 1.8.2-2019.2
intellij: 11.0.3+12-b304.10
Leiningen 2.9.1 on Java 1.8.0_181 Java HotSpot(TM) 64-Bit Server VM
1) load a test file without any failing tests in the repl
2) add a failing statement in a test inside the namespace (is (= 1 2))
3) run the test in the repl using : run test under caret in repl
or run tests in current ns repl
, the test pass with an invalid statement, the number of assertion is invalid when a single test is run
4) Running the test using (clojure.test/run-tests)
or (clojure.test/test-vars ['ns/test-var])
, the test fail
What are the differences between the cursive binding for running tests using the repl?
i'm getting Cannot execute: Clojure command not configured
when creating a new deps based project
@jrotenberg You’ll need to configure deps as described here: https://cursive-ide.com/userguide/deps.html#configuring-deps
thanks, i'll take a look.
@youvere No, I’ve never seen that. Cursive does indeed do a fair amount of black magic to make the integration work. Do you have anything installed like humane-test-output or anything like that? Things like that also monkeypatch clojure.test, and monkeypatches on top of other monkeypatches never ends well.