From 822d9a872807a92a5337ee8b7bab96dc9845cdbb Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 22 Jun 2026 02:09:59 +0900 Subject: test: port more test cases Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/command/run_script_command_test.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crates/shirabe/tests/command/run_script_command_test.rs') diff --git a/crates/shirabe/tests/command/run_script_command_test.rs b/crates/shirabe/tests/command/run_script_command_test.rs index 14766d4..366ee96 100644 --- a/crates/shirabe/tests/command/run_script_command_test.rs +++ b/crates/shirabe/tests/command/run_script_command_test.rs @@ -1,31 +1,31 @@ //! ref: composer/tests/Composer/Test/Command/RunScriptCommandTest.php #[test] -#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"] +#[ignore = "requires PHPUnit getMockBuilder/onlyMethods partial mock of RunScriptCommand (override requireComposer/initialize/etc) plus expects()/with()/willReturn()/returnValueMap mocks of InputInterface/OutputInterface/EventDispatcher with a callback constraint on ScriptEvent; no mocking infrastructure exists"] fn test_detect_and_pass_dev_mode_to_event_and_to_dispatching() { todo!() } #[test] -#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"] +#[ignore = "requires init_temp_composer and get_application_tester (ApplicationTester) infrastructure; neither exists"] fn test_can_list_scripts() { todo!() } #[test] -#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"] +#[ignore = "requires init_temp_composer and get_application_tester (ApplicationTester) infrastructure; neither exists"] fn test_can_define_aliases() { todo!() } #[test] -#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"] +#[ignore = "requires init_temp_composer/get_application_tester (ApplicationTester) plus writing and executing a PHP-generated Symfony Command class (file_put_contents MyCommand.php); fundamentally unportable, no infrastructure exists"] fn test_execution_of_simple_symfony_command() { todo!() } #[test] -#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"] +#[ignore = "requires init_temp_composer/get_application_tester (ApplicationTester) plus writing and executing a PHP-generated Symfony Command class (file_put_contents MyCommandWithDefinitions.php); fundamentally unportable, no infrastructure exists"] fn test_execution_of_symfony_command_with_configuration() { todo!() } -- cgit v1.3.1