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-05-25T02:25:34.065800Z

Perhaps you needed to <localleader>ef first? https://github.com/Olical/conjure/blob/5d3b1afe96d11f059016d0b556f2797b54af916e/doc/conjure.txt#L143-L145

2🎉
Lance Erickson 2021-05-25T03:24:45.067700Z

Heh. That took care of it. I suppose either that or evaluating the buffer are probably good things to do right on open.

2021-05-25T11:39:49.068Z

[Olical/conjure] Pull request merged by Olical

Niklas 2021-05-25T12:44:39.068100Z

different use cases, nested deftests are for tests that share context, t/testing is for grouping asserts, see https://clojure.github.io/clojure/clojure.test-api.html

Niklas 2021-05-25T12:45:34.068300Z

It does seem strange to me, like running b should run everything in a up to b.. I'm thinking about forbidding nesting of tests in my current project instead

Olical 2021-05-25T12:45:49.068500Z

I've never personl

Olical 2021-05-25T12:46:19.068800Z

I've never personally seen a nested deftest in years of professional Clojure 😅

Niklas 2021-05-25T12:49:10.069Z

yeah, it doesn't seen necessary... or maybe it doesn't even work with the cognitect test runner? I don't know

Niklas 2021-05-25T12:49:25.069200Z

I just played with it in vim 😛

Niklas 2021-05-25T12:56:02.069400Z

I see the difference now, the subtests are executed in the supertest, not defined. My bad

Niklas 2021-05-25T12:56:10.069600Z

(deftest a
  (is (= 0 1)))

(deftest b
  (a))