This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # beginners (21)
- # boot (6)
- # cider (47)
- # clojure (67)
- # clojure-brasil (2)
- # clojure-dusseldorf (3)
- # clojure-greece (2)
- # clojure-quebec (3)
- # clojure-russia (8)
- # clojure-spec (110)
- # clojurescript (19)
- # cursive (8)
- # datomic (5)
- # devcards (2)
- # dirac (9)
- # editors (1)
- # emacs (3)
- # funcool (1)
- # lein-figwheel (7)
- # om (1)
- # protorepl (2)
- # re-frame (1)
- # testing (1)
make test and I'm getting them all erroring. No such file queue, spinner, clojure-mode, etc
may be that my version for emacs is 18.104.22.168 or something and the cask deps are going into a version file for 25.1.x.x or something
@drewverlee: Are you sure you want do call that defn inside -main? Does it work with regular Clojure code outside -main?
def inside of a
defn is not idiomatic Clojure. That’s what
let are for. Anything beginning with
def is meant for top-level definitions.
@drewverlee: that command instruments the function. You still need to call the function in order to step through it.
right that all makes sense. trying to get something else to work. I correct the test below to work then save the file.
and i call
(ns sad.core-test (:require [clojure.test :refer :all] [sad.core :refer :all])) (deftest a-test (testing "FIXME, I fail." (is (= 1 1))))
cider-test-run-ns-testsand i get
where i would the test to pass because i set 1 to 1? Is there anything i have to do beyond saving the file before calling
Test Summary sad.core-test Tested 1 namespaces Ran 1 assertions, in 1 test functions 1 failures Results sad.core-test 1 non-passing tests: Fail in a-test FIXME, I fail. expected: (= 0 1) actual: (not (= 0 1))
anybody ever see anything like this when running
make test? Basically all tests fail
any obvious starting points for what would cause
error while handling the debug message: (not a nrepl dict) to occur while evaluating a function after running
Do you know of a good guide of how to setup local copies of the cider middleware so that i can send pull requests? I'm not sure how to make that stuff load local copies versus whatever it normally does
hmm, i'm unable to use cider to run individual cider-nrepl tests since they use test fixtures. Cider doesn't know to use the test fixture
udpate: I changed my ~/.lein/profiles.clj to not be utterly wrong and everything seems to be working
when running cider-nrepl tests, both from cider's test runner and from lein, i'm getting only 2 tests with 16 assertions
@dpsutton as for your first question, it should be as simple as cloning cider and doing jack-in on the repository. If you explicitly want to test its behaviour on another project you can do
lein install to install your local clone.
Then, when you jack-in on some other project it should catch the just-installed version
so lein install puts it in the m2 directory so that other projects use that version?
You may want to bump the version number before lein-installing, so that you can easily switch back to the official version by changing the dependency vector in your project.clj.
Yes, what @radon said. Lein install puts it in the m2 directory. Your project will use that version if it matches the version of cider.el you have.
I should clarify my statement. If you’re working with things like CIDER that expect a particular dependency number, then bumping the version number is probably a bad idea. Only do that if you’re working with dependencies amongst your own projects.