From 0e89281dd7f057d3829508b8e6c5d85c3f111c45 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 6 Aug 2026 01:51:05 +0900 Subject: test(plugin): compare a plugin-provided installer against upstream Composer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The fixture plugin registers an InstallerInterface implementation of its own and installs a package of a custom type with it, recording every contract call it receives. A fresh install produces a byte-identical project tree on both implementations, trace included. A second test pins the divergence a re-run and a `remove` expose: the two implementations consult getInstaller at different points, so the trace order — and its length once `remove` re-creates the Composer instance — differs. It is written in full and marked ignored rather than trimmed. Co-Authored-By: Claude Opus 5 (1M context) --- .../plugin/fixtures/e2e-installer/packages/asset-a/composer.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 crates/shirabe/tests/plugin/fixtures/e2e-installer/packages/asset-a/composer.json (limited to 'crates/shirabe/tests/plugin/fixtures/e2e-installer/packages/asset-a') diff --git a/crates/shirabe/tests/plugin/fixtures/e2e-installer/packages/asset-a/composer.json b/crates/shirabe/tests/plugin/fixtures/e2e-installer/packages/asset-a/composer.json new file mode 100644 index 00000000..4fe63968 --- /dev/null +++ b/crates/shirabe/tests/plugin/fixtures/e2e-installer/packages/asset-a/composer.json @@ -0,0 +1,6 @@ +{ + "name": "shirabe-test/asset-a", + "version": "1.0.0", + "type": "shirabe-asset", + "description": "Fixture package installed by the plugin-provided installer." +} -- cgit v1.3.1