Skip to content

Add Plugin/Hook system #29

@NoahTheDuke

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions