From 9c6f614aa6ddb5d91340e34b0136be6a14712d63 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 25 Jun 2026 14:46:55 +0900 Subject: feat(util): add ProcessExecutorMock test infra; port SymfonyStyle message methods Add an internal mock hook to ProcessExecutor (None in production) so tests can stub command execution without spawning processes, mirroring Composer's ProcessExecutorMock subclass. Add get_process_executor_mock helper and two verification tests. Implement SymfonyStyle's message-handling methods. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/util/main.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/shirabe/tests/util/main.rs') diff --git a/crates/shirabe/tests/util/main.rs b/crates/shirabe/tests/util/main.rs index e779fe0..bf23c6b 100644 --- a/crates/shirabe/tests/util/main.rs +++ b/crates/shirabe/tests/util/main.rs @@ -1,3 +1,6 @@ +#[path = "../common/process_executor_mock.rs"] +mod process_executor_mock; + mod auth_helper_test; mod bitbucket_test; mod config_validator_test; -- cgit v1.3.1