Fork me on GitHub
#cider
<
2020-06-01
>
Piotr04:06:17

Hi, just wondering how can I get it to work: I would like to run tests for current buffer but it complains that it does not see any tests. That is actually correct, the tests are in other directory, on the same level as /src I have found this setting

cider-test-infer-test-ns
but I am not sure how to use it. Can anyone point me in in the right direction?

practicalli-johnny08:06:53

Do test work if you run them on the command line? If not, they won't work in CIDER

Piotr05:06:43

It was caused by the fact that I have failed to evaluate test buffer. It works now. Thank you.

bozhidar08:06:35

@piotr.kurnik You’ve evaluated the test namespace, right?

Piotr05:06:39

No I haven’t and that was the root cause. It was easier than I expected… Thank you @U051BLM8F

bozhidar06:06:15

You’re welcome!

donavan09:06:55

I’m getting a lot of java.lang.IllegalArgumentException: Cannot write value of type class java.lang.Double in bencode.clj. I understand this may be a part of my project and so others may not be able to actually help me but any pointers as to what I should be looking for when debugging this?

dominicm09:06:32

Bencode can't handle doubles, it has no way to send them

dominicm09:06:50

So you need to covert them to something else before giving them to bencode

donavan09:06:55

Right, so does that mean any value that I may be evaluating in my cider session cannot return doubles?

bozhidar09:06:42

Nope, results are simply returned as strings by nREPL.

bozhidar09:06:12

(meaning the server converts the double to a string and sends it back to CIDER as a string)

bozhidar09:06:01

What exactly are you doing to be getting those errors?

donavan10:06:09

I’m not 100% sure TBH. I have a boot backed yada server and I’m trying to eval fns and run a test interactively… I haven’t yet started peeling away the layers of the project to see what causes the issue

donavan10:06:21

I’m heading into a meeting now, will come back to this later. Thanks for the help regardless

Ian Fernandez20:06:00

hey guys, there's some way to connect cider on bb? (Babashka)

dpsutton20:06:55

i believe so. bb can run with an nrepl server

dpsutton20:06:19

bb --nrepl-server 12345

🤯 16
dpsutton20:06:29

and then just cider connect