conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
2021-03-04T03:57:29.026Z

2021-03-04T04:01:16.026100Z

adambros 2021-03-04T05:27:51.027500Z

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…

dharrigan 2021-03-04T07:30:11.027800Z

I use kaocha

dharrigan 2021-03-04T07:30:30.028200Z

Works fine, just put this into your vim config let g:conjure#client#clojure#nrepl#test#current_form_names = ['deftest', 'defexpect']

dharrigan 2021-03-04T07:30:46.028600Z

so that conjure knows that defexpect is a valid test to run

adambros 2021-03-04T07:52:02.030400Z

Right but how do I use kaocha.report/documentation as the test reporter?

Olical 2021-03-04T08:36:47.032700Z

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!

dharrigan 2021-03-04T09:00:54.033300Z

@adambros do you have a tests.edn in your project root?

2021-03-04T18:27:08.033400Z

adambros 2021-03-04T18:29:18.033900Z

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

dharrigan 2021-03-04T18:31:03.034100Z

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.

2021-03-04T18:34:04.034300Z

adambros 2021-03-04T18:34:51.034400Z

yeah in my case when some namespaces get changed it causes most of the app to reload which takes ~ 10 seconds

adambros 2021-03-04T18:35:07.034600Z

so i’m wanting to short circuit that and just run what i want when i want

adambros 2021-03-04T18:35:16.034800Z

@olical ^

Olical 2021-03-04T18:36:00.035Z

Thanks! Already got 3-4 notifications from various sources 😅

adambros 2021-03-04T18:36:07.035200Z

ah right sorry

Olical 2021-03-04T18:36:14.035400Z

Every conjure interaction causes my phone to ezplode

Olical 2021-03-04T18:36:16.035600Z

No worries!

Olical 2021-03-04T18:36:45.035800Z

Thanks for opening , helps me remember without having to maintain my own Todo lists

👍 1
adambros 2021-03-04T18:37:49.036100Z

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