Skip to content

Add Plugin/Hook system #29

Closed
Closed

Description

@NoahTheDuke

The clojure.test runner/framework Kaocha has a hook system, which allows for writing custom code that modifies the running state of a test run, through a protocol or multimethod. i want that

Goals

Add an extensible system for executing custom code during a lazytest run.

Ideas

plugin protocol multimethod ifn that can do whatever
Ease of implementation Messier, protocols dont' work great with reloaded workflow have issues with changing dispatch function dead simple
Ease of usage (for lazytest) Unknown/hard (how to handle missing protocol methods??????) could assert that user-provided mm has specified :default messy, because who knows what they're doing
errors probably bad fine? probably bad

Activity

  1. NoahTheDuke commented on Apr 1, 2026

    @NoahTheDuke
    OwnerAuthor

    Completed with #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions