Fork me on GitHub
#cider
<
2019-10-16
>
andrea.crotti13:10:45

it would be great to be able to configure cider to run tests with kaocha/repl

andrea.crotti13:10:03

I can still run them from the repl and there is an emacs package to help with that as well I think

andrea.crotti13:10:48

but if it could be made the default per project and cider could just use it would be even better

manuel14:10:19

I use this:

andrea.crotti15:10:29

Yeah I tried that too

andrea.crotti15:10:09

But would be nicer if cider test could use kaocha directly

bozhidar17:10:09

Isn’t kaocha mostly meant to be used as a command-line runner?

bozhidar17:10:39

I haven’t had time to play with it yet, I’ve heard only great things about it, though. With @plexus involved I’d expect nothing else. 🙂

bozhidar17:10:59

Can you explain to me how do you envision integration with kaocha to look like?

andrea.crotti19:10:08

Well you can run it with kaocha.repl

andrea.crotti19:10:45

Which allows you to run inside the repl, and you can pass the same options you would pass to the command line

andrea.crotti19:10:17

For example kaocha does all the spec instrumentation by default without

andrea.crotti19:10:56

So running the same tests with cider or kaocha is not exactly the same unless you also instrument every namespace manually

andrea.crotti19:10:10

I introduced it to many projects and found lots issues that were not detected otherwise