what’s the story if i want to use a different test runner & reporter (say kaocha) when running tests using conjure? I didn’t find anything, and I’m hesitant to try to figure out a custom mapping to use kaocha’s cli functions…
I use kaocha
Works fine, just put this into your vim config let g:conjure#client#clojure#nrepl#test#current_form_names = ['deftest', 'defexpect']
so that conjure knows that defexpect
is a valid test to run
Right but how do I use kaocha.report/documentation
as the test reporter?
There's no config to have conjure run a different test runner at the moment. If it's almost identical to clojure.test then it shouldn't be hard to add. If someone could raise an issue with more details that'd be great, thanks!
@adambros do you have a tests.edn
in your project root?
i do, i am currently using kaocha with a watch to run my tests, but i’m wanting to transition to running some tests in the repl, hence my question
Ah, I see. Okay. That I don't do. I normally just have kaocha watching in a separate terminal all my tests and re-running as I make changes.
yeah in my case when some namespaces get changed it causes most of the app to reload which takes ~ 10 seconds
so i’m wanting to short circuit that and just run what i want when i want
@olical ^
Thanks! Already got 3-4 notifications from various sources 😅
ah right sorry
Every conjure interaction causes my phone to ezplode
No worries!
Thanks for opening , helps me remember without having to maintain my own Todo lists
as a note, this is not urgent, i can manage without it, but it has been a reason i never sped up my testing workflow as the reporting has not been customizable