Fork me on GitHub
#emacs
<
2020-05-24
>
mister_m01:05:12

Hello - does anyone know how I can run tests from CIDER with an added profile? Using lein at the terminal I'd run something akin to lein with-profile +blah test , but I am not sure how to force this in CIDER. I have a test of mine that I am wanting to debug.

dpsutton01:05:34

Is your question how to jack in with a profile?

mister_m01:05:13

honestly, not sure

dpsutton01:05:29

As CIDER runs tests in the running repl so that seems to be the answer. If so then you can use a prefix argument when jacking in and edit the docstring of the command that CIDER uses

mister_m01:05:45

that sounds like the way to go in my case. How does one jack in with a prefix argument? I'm only aware of the M-x cider-jack-in

dpsutton01:05:12

That’s something you can set yes. And as a one off you can try C-u M-c cider-jack-in

mister_m01:05:13

Thanks for the direction!

cider 4