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) --- crates/shirabe/tests/plugin/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/shirabe/tests/plugin/main.rs') diff --git a/crates/shirabe/tests/plugin/main.rs b/crates/shirabe/tests/plugin/main.rs index a65594be..02db6b03 100644 --- a/crates/shirabe/tests/plugin/main.rs +++ b/crates/shirabe/tests/plugin/main.rs @@ -5,6 +5,7 @@ mod config_stub; mod e2e_command_provider_test; mod e2e_extension_installer_test; +mod e2e_installer_test; mod e2e_normalize_test; mod plugin_installer_test; mod subscriber_test; -- cgit v1.3.1