From 3b0787fdecc21edf9ad22b82f547363c1aa79b15 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 5 Aug 2026 03:58:11 +0900 Subject: test(plugin): compare plugin-provided command execution against upstream A Shirabe-authored CommandProvider fixture plugin (greet) runs under both implementations: exit codes, the command's own output, help/list rendering, alias resolution, a validation failure, and a file recording the shared object graph the command observed (root package, strict application FQCN, and the exit code of the built-in about command it invoked) must match. Co-Authored-By: Claude Fable 5 --- .../fixtures/e2e-command/project/composer.json | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 crates/shirabe/tests/plugin/fixtures/e2e-command/project/composer.json (limited to 'crates/shirabe/tests/plugin/fixtures/e2e-command/project/composer.json') diff --git a/crates/shirabe/tests/plugin/fixtures/e2e-command/project/composer.json b/crates/shirabe/tests/plugin/fixtures/e2e-command/project/composer.json new file mode 100644 index 00000000..e68a53de --- /dev/null +++ b/crates/shirabe/tests/plugin/fixtures/e2e-command/project/composer.json @@ -0,0 +1,24 @@ +{ + "name": "shirabe/e2e-command-provider", + "description": "E2E fixture project: run a plugin-provided command against upstream Composer and Shirabe.", + "repositories": [ + { + "type": "path", + "url": "../plugin", + "options": { + "symlink": false + } + }, + { + "packagist.org": false + } + ], + "require": { + "shirabe-test/command-provider": "1.0.0" + }, + "config": { + "allow-plugins": { + "shirabe-test/command-provider": true + } + } +} -- cgit v1.3.1