This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-27
Channels
- # aleph (10)
- # beginners (139)
- # cider (47)
- # clara (19)
- # cljs-dev (2)
- # cljsjs (9)
- # clojure (94)
- # clojure-berlin (1)
- # clojure-dev (23)
- # clojure-greece (5)
- # clojure-italy (5)
- # clojure-nl (14)
- # clojure-uk (36)
- # clojurescript (85)
- # cursive (2)
- # datomic (56)
- # emacs (3)
- # events (1)
- # fulcro (33)
- # garden (3)
- # graphql (6)
- # hoplon (53)
- # jobs (1)
- # leiningen (4)
- # mount (46)
- # nrepl (7)
- # off-topic (8)
- # om (3)
- # other-languages (4)
- # pedestal (7)
- # portkey (7)
- # re-frame (1)
- # reagent (16)
- # remote-jobs (3)
- # ring-swagger (2)
- # shadow-cljs (16)
- # slack-help (2)
- # tools-deps (2)
- # yada (1)
so I was trying to implement the complementary send-buffer, send-region, etc for emacs-lisp-mode using ielm, and I noticed I need to wrap the text in a (progn ...) form. Is there a better way to do this?
(with-current-buffer "*ielm*"
(insert "(progn ")
(insert text)
(insert " )")
(ielm-send-input))
how should I use cider's run test with selector functionality? I've read it's doc at https://cider.readthedocs.io/en/latest/running_tests/, and it looks like C-c C-t C-s
is the function I need, which ask me for selector to include and selector to exclude. But i'm not exactly sure what to put for those.
Say I have a (deftest ^:integration ....)
and my project.clj
has
{:test-selectors {:default (complement :integration)
:integration :integration}}
I want to exclude test marked with ^:integration
, so do I leave include prompt empty and put ^:integration
in the exclude prompt?
I tried that, and also :integration
, and integration
, non would exclude the tests for me 😞@U0AAZPCF8 I'm wondering if you actually found a bug in cider: It seems that the function should use "include" not "includes": * https://github.com/clojure-emacs/cider/blob/master/cider-test.el#L656 * https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl/middleware/test.clj#L296 * https://github.com/clojure-emacs/orchard/blob/master/src/orchard/query.clj#L47