lazytest

2025-12-17T21:57:35.375669Z

i've been resistant to the idea of adding a .lazytest.edn or similar file, it increases maintenance burden, adds one more place to track state, etc. however, as i'm working on a --hook system, it does seem like it would be helpful to say in a single place "i always want to randomize suites in a namespace" or "i always want to profile my runs". what do y'all think?

dharrigan 2025-12-18T09:23:30.589729Z

Totally +1 for hidden files and respecting the $XDG_CONFIG_HOME var.

👍 1
seancorfield 2025-12-18T01:45:38.968769Z

I think .lazytest/config.edn would be better, in a project and a user-level ~/.config/lazytest/config.edn too perhaps?

2025-12-18T02:08:08.662799Z

oh yeah? you prefer a hidden folder?

seancorfield 2025-12-18T02:11:23.953109Z

That's more consistent with LSP, Calva, Kondo, VS Code, etc.

👍 1
👍🏼 1
seancorfield 2025-12-18T02:12:01.589959Z

And others...

seancorfield 2025-12-18T02:13:05.396649Z

And user-level stuff in ~/.config:

(!2009)-> ls .config
'Android Open Source Project'   cef_user_data   dconf            google-chrome   joyride         nvm        rest-client
 Google                         clojure         eas-cli-nodejs   gtk-3.0         matplotlib      polylith
 JetBrains                      clojure-lsp     exercism         htop            mimeapps.list   procps
 calva                          configstore     glib-2.0         jgit            nrepl           pulse

(2025-12-17.21:12:22)-(~)

2025-12-17T22:01:26.377699Z

alongside that, i have implemented a profiling hook that works exactly the same as the profile reporter, except it's a hook and thus isn't using hardcoded durations calculated by the runner. i am interested in removing profile or making it a no-op so i can remove the hardcoded duration calls (which will make the runner simpler overall). i wrote up a little bit of logic to include the profiling hook if profile reporter is included, which solves the problem of bridging the old way with the new. What do y'all think? Does anyone use --output profile at all? Or regularly?

seancorfield 2025-12-18T01:44:19.121439Z

Wot profile? 🙂

2025-12-17T22:02:03.140289Z

looks like i never documented profile hah, so maybe i can just rip this out and no one will notice