Skip to content

Add hook/plugin system#33

Merged
NoahTheDuke merged 16 commits into
mainfrom
nb/hooks
Apr 1, 2026
Merged

Add hook/plugin system#33
NoahTheDuke merged 16 commits into
mainfrom
nb/hooks

Conversation

@NoahTheDuke

Copy link
Copy Markdown
Owner

inspired by kaocha's hooks, here's a poor man's version.

i've been poking at this since december, i'll probably merge it soon but i'm not sure yet.

(defhook yell
  "Prints a message at the start and end of the whole run."
  (pre-test-run
    [config m]
    (println "STARTING")
    m)
  (post-test-run
    [config m]
    (println "ENDING")
    m))

it works, it's pretty chill, it doesn't seem to slow down the runner much.

@NoahTheDuke NoahTheDuke merged commit 27bf0c2 into main Apr 1, 2026
6 checks passed
@NoahTheDuke NoahTheDuke deleted the nb/hooks branch April 1, 2026 02:48
@NoahTheDuke NoahTheDuke mentioned this pull request Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant