aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/plugin/fixtures/e2e-command/project
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-05 03:58:11 +0900
committernsfisis <nsfisis@gmail.com>2026-08-05 03:58:11 +0900
commit3b0787fdecc21edf9ad22b82f547363c1aa79b15 (patch)
tree0dfa0d7b8e108c14a13dd468d43852682ec39b8c /crates/shirabe/tests/plugin/fixtures/e2e-command/project
parent9b444a9a879b75a6af3d3c7ba8b9a4294574c3ec (diff)
downloadphp-shirabe-3b0787fdecc21edf9ad22b82f547363c1aa79b15.tar.gz
php-shirabe-3b0787fdecc21edf9ad22b82f547363c1aa79b15.tar.zst
php-shirabe-3b0787fdecc21edf9ad22b82f547363c1aa79b15.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/plugin/fixtures/e2e-command/project')
-rw-r--r--crates/shirabe/tests/plugin/fixtures/e2e-command/project/composer.json24
1 files changed, 24 insertions, 0 deletions
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
+ }
+ }
+}