Fork me on GitHub
#cider
<
2015-06-23
>
bozhidar07:06:09

@voxdolo: you can run it with whatever profile you like

bozhidar08:06:00

but default it simply runs lein repl :headless, but you can change the command with C-u C-c M-j

bozhidar08:06:22

we used to have a special provision about lein profiles in the past

bozhidar08:06:39

but we removed it at some point to make this more flexible

bozhidar08:06:06

after all CIDER isn’t tied to lein at all, you just need some command that will create an nREPL server CIDER can connect to

phil09:06:38

Are there any tricks for telling CIDER to run 'just this deftest'?

malabarba09:06:12

@phil if point is inside a deftest when you run cider-run-tests, I think it'll run just that test

malabarba09:06:56

@phil correction, that's cider-test-run-test (singular)

phil09:06:36

Excellent, thanks.

arrdem10:06:41

doge w0w such feature very awesome

arrdem10:06:09

Seriously though I'm in awe of the debugger.

andrewmcveigh10:06:36

@phil: A deftest is just a function, so you can also just call it in the repl.

bozhidar13:06:25

more debugging magic simple_smile

voxdolo14:06:49

bozhidar: thanks for clearing that up. Makes total sense that it wouldn't know about my lein environment now that I've stopped to think about it simple_smile It was very surprising at the time though, when I noticed I was executing tests against my development database and not the test one, despite the test configuration being seemingly valid.

voxdolo14:06:51

from cider's perspective though, I can't see how it could or should do anything different. It was just an unexpected thing I got bitten by.

voxdolo14:06:07

filed under TIL 😉

bozhidar16:06:44

btw, CIDER 0.9.1 is right around the corner

bozhidar16:06:37

I’ve just fixed the last things I planned to fix for this release, so it’d be really great if you played with master branch (or the MELPA package) a bit to see if there aren’t any regressions

bozhidar16:06:48

0.9.1 will be pretty much bug-fixes and I hope to release it tomorrow, just in time for EuroClojure