Fork me on GitHub
#cider
<
2019-12-05
>
clarice09:12:11

Hey, I don't know if this is Cider related or solely related to spacemacs. I wonder if anyone has come across this issue before and how to fix it. Basically, I can't run my clojure tests. There is no test report. Please can someone help or direct me to an appropriate channel. 🙏 https://stackoverflow.com/questions/59191082/spacemacs-test-runner

bozhidar10:12:37

@cbillowes Hey there! What’s the error you’re getting?

bozhidar10:12:59

And what command are you trying to run?

clarice10:12:33

I don't see any error. , t t

clarice10:12:49

I just want to try again, getting set up again because it closed for some reason

clarice10:12:38

I start my rep. Then I focus on a test. It looks like it evaluates the test. Nothing goes green or red to show if the test passed or failed. In the messages buffer it showed that it loaded the test. Ran the test. Then shows the ns and function of the evaluation of the test.

bozhidar10:12:32

Can you share some screenshot?

bozhidar10:12:07

Keep in mind that the test report is displayed in a separate buffer only on failures/errors. Normally you should just get a message in your minibuffer saying that a test has passed.

clarice10:12:04

The test in question is actually supposed to fail. On my Mac I get a test report for all passing tests. Is it different based on distribution or configuration?

bozhidar10:12:10

Also - make sure you did evaluate the test namespace first.

clarice10:12:12

I don't get an assertions bar either

clarice10:12:21

let me try that quick

clarice10:12:22

I evaluated the buffer, then reran that test. I tried to run all tests now and I still don't get the expected output. Very strange

clarice10:12:40

I am going to try upgrade emacs on fedora. I installed directly from dnf but the version is still on 26.2

bozhidar10:12:59

It shouldn’t be the Emacs version, though.

clarice10:12:46

Ok, holding off on that then

bozhidar10:12:11

I’m on Emacs 26 and I target Emacs 25 for CIDER.

clarice10:12:08

How can I check what I am targeting for cider?

bozhidar10:12:03

I meant I target Emacs 25 when I’m developing CIDER. (I’m its author)

clarice10:12:20

Oh 😄

bozhidar10:12:25

Can you check in *nrepl-messages* for something like:

bozhidar10:12:28

(-->
  id         "32"
  op         "test"
  session    "64d5b457-6268-45ac-a3a1-371e9ce61eca"
  time-stamp "2019-12-05 12:08:54.849312000"
  load?      "true"
  ns         "orchard.apropos-test"
  tests      ("var-name-test")
)
(<--
  id         "32"
  session    "64d5b457-6268-45ac-a3a1-371e9ce61eca"
  time-stamp "2019-12-05 12:08:54.872459000"
  gen-input  nil
  results    (dict ...)
  summary    (dict ...)
  testing-ns "orchard.apropos-test"
)

bozhidar10:12:45

I’m curious what are the responses you get from the nREPL server when you’re running tests.

clarice10:12:14

I need to step out for about an hour now. Do you mind if I reply when I get back. It's closed now 😞 May I just DM you until we have a resolution which we can post here and on StackOverflow?

clarice10:12:34

:thumbsup:

clarice10:12:40

I'll let you know asap

clarice10:12:43

Thanks so much!

erwinrooijakkers13:12:46

How can running code from an uberjar on a production environment be “hot-patched”, what happens?

dominicm13:12:15

If you, eg re-eval a function