From 69b35b0c4d8cb583b389973b096f9dd2dee695c6 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 2 Aug 2026 11:41:49 +0900 Subject: test(completion): port CommandCompletionTester and CompletionFunctionalTest Adds the Symfony console test helper (Tester/CommandCompletionTester) and ports every CompletionFunctionalTest data-provider entry as an individual test. The tests reproduce the PHP environment by chdir'ing into the vendored composer/ checkout (its composer.json/lock provide the installed packages, scripts and package properties the expectations reference); the Packagist-backed entries query the live repository exactly like the PHP test does. Only `exec ` is ignored: its expectations require the dev checkout's fully installed vendor/bin, which the vendored checkout does not ship. Co-Authored-By: Claude Fable 5 --- crates/shirabe-external-packages/src/symfony/console/tester.rs | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 crates/shirabe-external-packages/src/symfony/console/tester.rs (limited to 'crates/shirabe-external-packages/src/symfony/console/tester.rs') diff --git a/crates/shirabe-external-packages/src/symfony/console/tester.rs b/crates/shirabe-external-packages/src/symfony/console/tester.rs new file mode 100644 index 00000000..1a7f6d0c --- /dev/null +++ b/crates/shirabe-external-packages/src/symfony/console/tester.rs @@ -0,0 +1,3 @@ +pub mod command_completion_tester; + +pub use command_completion_tester::*; -- cgit v1.3.1