Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit 3ae0e4d

Browse files
committed
test(ReadFileTool): add unit tests for image handling, error paths, approval flow
Adds comprehensive tests for ReadFileTool covering: - Input validation (missing path parameter) - RooIgnore blocking - Directory read error handling - Image handling (memory limits, format detection, model support) - Binary file handling (PDF, DOCX, unsupported formats) - Text file processing (slice and indentation modes) - Approval flow (approve, deny, feedback) - Output structure formatting - Error handling (file read errors, stat errors) 29 new tests covering the orchestration layer that was previously untested after the Codex-inspired refactor.
1 parent 6da41e6 commit 3ae0e4d

1 file changed

Lines changed: 673 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)