feat: Introduce plugin architecture#26
Conversation
This change introduces a new plugin architecture to the spectest CLI, inspired by esbuild. It allows for extending the functionality of the tool through a simple and powerful plugin interface. The new architecture includes: - A `PluginManager` to handle plugin registration and execution. - `onLoad` and `onRender` hooks to allow plugins to customize file loading and result rendering. - A proof-of-concept `yamlPlugin` that moves the existing YAML parsing logic into a separate plugin.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
This change introduces a new plugin architecture to the spectest CLI, inspired by esbuild. It allows for extending the functionality of the tool through a simple and powerful plugin interface.
The new architecture includes:
PluginManagerto handle plugin registration and execution.onLoadandonRenderhooks to allow plugins to customize file loading and result rendering.yamlPluginthat moves the existing YAML parsing logic into a separate plugin.PR created automatically by Jules for task 11670015583042172884 started by @justiceo