squint

borkdude 2026-04-17T18:56:26.161979Z

3
🎉 5
lread 2026-04-17T21:24:20.255149Z

Test support is sweet! Thank you! Is support for reporting on test var available yet? I don't understand code yet. I do see https://github.com/squint-cljs/squint/blob/v0.11.187/src/squint/test.cljs#L73-L74 Can I override the :begin-test-var defaults?

borkdude 2026-04-18T15:34:23.503669Z

@lee try the newest version, locally I have the test multimethod working (v0.11.188)

lread 2026-04-18T15:44:21.368149Z

Oh cool! Will give it a go!

lread 2026-04-18T15:54:34.410299Z

Sweet!:

Testing cljdoc.client.single-docset-search.logic-test
=== tokenize-test
=== sub-tokenize-test
=== tokenizer-test
=== search-test

Ran 4 tests containing 31 assertions.
0 failures, 0 errors.

lread 2026-04-18T16:04:37.557539Z

Thanks for making this a wee simple PR: https://github.com/cljdoc/cljdoc/pull/1185/changes

🎉 1
borkdude 2026-04-17T21:25:24.568089Z

That's one bit I didn't implement yet. I'm surprised you're hitting this gap this soon laughcry

borkdude 2026-04-17T21:25:52.842169Z

I think we first need multimethods for this

lread 2026-04-17T21:30:03.771489Z

Ha! I just like the extra report var feedback when running tests. I can certainly live without it!

borkdude 2026-04-17T21:32:03.405859Z

It's a natural follow up issue, thanks for the inspiration. Upvote welcome. https://github.com/squint-cljs/squint/issues/806

borkdude 2026-04-17T21:33:17.213879Z

And thanks for being so quick with testing it

borkdude 2026-04-17T21:37:47.608009Z

(I'll get back to your fs PRs soon, working through a pile of other stuff too)

lread 2026-04-17T21:38:35.574549Z

(no prob, no hurry, do your thing)

lread 2026-04-17T21:46:21.972489Z

Here's my switch to using squints' new test support for cljdoc: https://github.com/cljdoc/cljdoc/pull/1183/changes/9c3cb3cf8db4763647fa37cce394a3abac653513 (Before the new test support, I had based my test support on what you did for nextjournal/clojure-mode, so diff should look familiar!).

borkdude 2026-04-17T21:48:19.056139Z

does it work? that's so rewarding to see

lread 2026-04-17T21:50:39.197979Z

Yeah, works awesomely!

Testing cljdoc.client.single-docset-search.logic-test

Ran 4 tests containing 31 assertions.
0 failures, 0 errors.

🎉 1
lread 2026-04-17T21:53:21.863229Z

(I did sanity-test that assertions fail when they should too)

👍 1