unity-mcp/Server/tests/integration
dsarno f4a8b05094
Clean up Unity and Python tests (#548)
* Test suite audit: remove placeholders, consolidate duplicates, fix stale tests

Python tests:
- Delete 3 vestigial placeholder files (test_script_editing.py, test_find_in_file_minimal.py, test_resources_api.py)
- Remove empty skip-marked tests from test_transport_framing.py and test_logging_stdout.py
- Consolidate DummyMCP/setup_tools() into test_helpers.py
- Fix flaky timing in test_telemetry_queue_worker.py (200ms → 500ms)
- Remove placeholder from test_instance_routing_comprehensive.py

C# tests:
- Consolidate MCPToolParameterTests.cs (755 → 361 lines, -52%)
- Fix 3 tests with stale "future feature" comments - features ARE implemented:
  - AutoGrow arrays (Phase 1.2)
  - Path normalization (Phase 1.1)
  - Bulk array mapping (Phase 3.1)
- Strengthen assertions in ManageGameObjectTests.cs and CommandRegistryTests.cs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Address code review feedback: remove dead code, fix silent test skips

- Remove unused tools_struct setup in test_edit_normalization_and_noop.py
- Create test texture in EndToEnd_PropertyHandling_AllScenarios so
  texture-dependent scenarios (4, 5, 10) actually run instead of silently skipping
- Add texture cleanup in finally block

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 20:26:20 -08:00
..
__init__.py Update mirror backend with latest code 2025-11-05 16:08:59 -04:00
conftest.py 🎮 GameObject Toolset Redesign and Streamlining (#518) 2026-01-06 10:13:45 -08:00
test_debug_request_context_diagnostics.py Payload-safe paging for hierarchy/components + safer asset search + docs (#490) 2025-12-28 20:57:57 -08:00
test_domain_reload_resilience.py HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
test_edit_normalization_and_noop.py Clean up Unity and Python tests (#548) 2026-01-11 20:26:20 -08:00
test_edit_strict_and_warnings.py Clean up Unity and Python tests (#548) 2026-01-11 20:26:20 -08:00
test_editor_state_v2_contract.py v9 pre-release pruning (#528) 2026-01-07 18:51:51 -04:00
test_external_changes_scanner.py Async Test Infrastructure & Editor Readiness Status + new refresh_unity tool (#507) 2026-01-03 12:42:32 -08:00
test_find_gameobjects.py 🎮 GameObject Toolset Redesign and Streamlining (#518) 2026-01-06 10:13:45 -08:00
test_gameobject_resources.py v9 pre-release pruning (#528) 2026-01-07 18:51:51 -04:00
test_get_sha.py Clean up Unity and Python tests (#548) 2026-01-11 20:26:20 -08:00
test_helpers.py Clean up Unity and Python tests (#548) 2026-01-11 20:26:20 -08:00
test_improved_anchor_matching.py HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
test_instance_autoselect.py ManageGameObject/Material + auto-select sole Unity instance (#502) 2026-01-01 21:04:10 -08:00
test_instance_routing_comprehensive.py Clean up Unity and Python tests (#548) 2026-01-11 20:26:20 -08:00
test_instance_targeting_resolution.py HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
test_json_parsing_simple.py HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
test_logging_stdout.py Clean up Unity and Python tests (#548) 2026-01-11 20:26:20 -08:00
test_manage_asset_json_parsing.py 🔧 Clean up & Consolidate Shared Services Across MCP Tools (#519) 2026-01-06 12:58:17 -08:00
test_manage_asset_param_coercion.py HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
test_manage_components.py 🎮 GameObject Toolset Redesign and Streamlining (#518) 2026-01-06 10:13:45 -08:00
test_manage_gameobject_param_coercion.py 🔧 Clean up & Consolidate Shared Services Across MCP Tools (#519) 2026-01-06 12:58:17 -08:00
test_manage_scene_paging_params.py Payload-safe paging for hierarchy/components + safer asset search + docs (#490) 2025-12-28 20:57:57 -08:00
test_manage_script_uri.py v9 pre-release pruning (#528) 2026-01-07 18:51:51 -04:00
test_manage_scriptable_object_tool.py Harden `manage_scriptable_object` Tool (#522) 2026-01-07 10:46:35 -04:00
test_read_console_truncate.py Codex/optimize and paginate read console tool (#511) 2026-01-04 14:46:52 -08:00
test_read_resource_minimal.py HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
test_refresh_unity_registration.py Async Test Infrastructure & Editor Readiness Status + new refresh_unity tool (#507) 2026-01-03 12:42:32 -08:00
test_refresh_unity_retry_recovery.py v9 pre-release pruning (#528) 2026-01-07 18:51:51 -04:00
test_run_tests_async.py v9 pre-release pruning (#528) 2026-01-07 18:51:51 -04:00
test_script_tools.py v9 pre-release pruning (#528) 2026-01-07 18:51:51 -04:00
test_telemetry_endpoint_validation.py HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
test_telemetry_queue_worker.py Clean up Unity and Python tests (#548) 2026-01-11 20:26:20 -08:00
test_telemetry_subaction.py HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
test_tool_signatures_paging.py Payload-safe paging for hierarchy/components + safer asset search + docs (#490) 2025-12-28 20:57:57 -08:00
test_transport_framing.py Clean up Unity and Python tests (#548) 2026-01-11 20:26:20 -08:00
test_validate_script_summary.py v9 pre-release pruning (#528) 2026-01-07 18:51:51 -04:00