practicalli (youtube)
practicalli-john 2020-10-21T00:07:26.083600Z

kaocha test runner has a bug with release 1.0.700, which can be fixed either by downgrading to version 1.0.672 or adding org.clojure/test.check as an extra-dependency I've updated to work around this issue :test/runner alias is rolled back to kaocha 1.0.672 :env/test now includes :extra-deps of org.clojure/test.check library (which is a useful library to include) :test/kaocha should be used with :env/test to include the test.check library

clojure -M:env/test:test/kaocha


@jr0cket Hi John, wondering if you can help. I'm having problems with spacemacs and CLI clojure project. I'm using your deps.edn and have setup a basic project template using :project/new. I start a repl, editing the startup command to add -A:test and all seems good. I can evaluate code, evaluate forms in the repl, run tests etc. However, if I try to lookup documentation using ', h d' I get a wrong type argument char-or-string nil error. This only occurs with CLI projects. a lein project works fine. More confusing is that it only occurs with spacemacs - if I run a basic emacs setup without spacemacs and the same clojure/cider packages, it works fine. I'm using the develop branch of spacemacs - updated to HEAD and all packages updated to latest versions. I've also logged and issue on the spacemacs repo. What I am wondering is if you can verify ', h d' works for you as a spacemacs user and if it does, can you share your deps.edn and .dir-locals.el file so that I can compare with what I have. I'm also running emacs 27.1 (but same issue with 27.1.50 and 28)

practicalli-john 2020-10-21T23:59:04.096700Z

@theophilusx After a cider-jack-in-clj I can successfully launch , h d ( cider-clojure-docs ) in the project (it has both a deps.edn and project.clj config). I am using Emacs 27.1, a fairly recent Spacemacs develop (updated in the last couple of weeks I think) and CIDER 1.0.0snapshot (package: <tel:202009301242|20200930.1242>). In the .spacemacs configuration file, I'm using the following for the Clojure layer inside dotspacemacs-configuration-layers

(clojure :variables
              clojure-enable-clj-refactor t
              clojure-enable-linters 'clj-kondo
              clojure-toplevel-inside-comment-form t
              cider-overlays-use-font-lock t
              cider-preferred-build-tool 'clojure-cli) 
I have noticed on occasion that the cider commands for docs dont work, but its very infrequent. I usually just restart Emacs at some point. When I regularly get wrong type of argument for a command, I usually delete the package or the *.elc files the command is from and restart Emacs, so spacemacs will download the package again.