This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-20
Channels
- # aleph (12)
- # announcements (7)
- # aws (6)
- # babashka (36)
- # beginners (161)
- # boot (1)
- # calva (6)
- # cider (21)
- # clj-kondo (13)
- # cljs-dev (28)
- # cljsrn (1)
- # clojars (3)
- # clojure (13)
- # clojure-colombia (1)
- # clojure-europe (10)
- # clojure-spec (12)
- # clojure-uk (47)
- # clojuredesign-podcast (2)
- # clojurescript (67)
- # datascript (8)
- # datomic (21)
- # duct (3)
- # emacs (6)
- # events (1)
- # fulcro (6)
- # graalvm (98)
- # jobs (1)
- # kaocha (18)
- # luminus (1)
- # malli (7)
- # off-topic (56)
- # pathom (5)
- # re-frame (18)
- # reagent (3)
- # reitit (9)
- # remote-jobs (3)
- # rewrite-clj (10)
- # ring (1)
- # shadow-cljs (155)
- # spacemacs (2)
- # sql (5)
- # tools-deps (27)
- # vim (86)
- # xtdb (2)
I’ve added the ns as you specified and it picks up that a file has changed in my script
directory but those changes are not propagated to the tests (eg. if I break a fn it won’t fail the test).
My setup is:
- test
dir, src
dir works well and as they should
- script
dir added both in project.clj test profiles to source-paths and in tests.edn
- Running kaocha with leiningen
- Restarting the test or running the test once will pick up changes, using watch will not
- MacOS
- [lambdaisland/kaocha "0.0-541"]
Yeah for sure. This week I’m pretty swamped now but I’ll try to put it together next week. And then attach it to an issue in the kaocha repo?
Hey! I'm trying to clear out some WARNINGS from our build, specifically:
clojure -A:test -m kaocha.runner unit
WARNING: reader-conditional already refers to: #'clojure.core/reader-conditional in namespace: clojure.tools.reader.impl.utils, being replaced by: #'clojure.tools.reader.impl.utils/reader-conditional
WARNING: tagged-literal already refers to: #'clojure.core/tagged-literal in namespace: clojure.tools.reader.impl.utils, being replaced by: #'clojure.tools.reader.impl.utils/tagged-literal
I've isolated the culprit dependency:
clj -A:dev:test -Stree | grep -C 15 'clojure.tools.reader'
...
lambdaisland/kaocha 0.0-554
lambdaisland/deep-diff 0.0-47
mvxcvi/puget 1.1.2
fipp/fipp 0.6.17
mvxcvi/arrangement 1.2.0
org.clojure/core.rrb-vector 0.0.14
tech.droit/clj-diff 1.0.1
slingshot/slingshot 0.12.2
aero/aero 1.1.3
lambdaisland/tools.namespace 0.0-234
org.clojure/java.classpath 0.3.0
org.clojure/tools.reader 1.3.2 <=================
But investigating further, tools.reader 1.3.2 includes the upstream fix for these warnings: https://github.com/clojure/tools.reader/commit/c503ed4b3b69b3d9f4be14e154b781cbeee4f54d
So I'm not sure why I am seeing these warnings at all... anyone able to point me in a direction for resolving this?
We are on Clojure 1.10.0-RC5, if that makes a difference (I quickly tried an upgrade to 1.10.1 and the issue did not resolve).The Clojure version shouldn't matter... I've seen the same problem many times, but never had the time to investigate
Heh, nice. I figured out that some dep must contain extra copy of tools.reader but didn't immediately think of cloverage.