Orchestrata Ultimate › Tests › Reference › claude › test_file_grep_coverage

Tests reference — tests/claude/test_file_grep_coverage.py

Module of tests/claude, split out because the directory page would be too large.

Prose pending.

tests/claude/test_file_grep_coverage.py

source · 18 tests · 211 lines

Line-coverage tests for claude/tools/file_grep.py.

Kind Name Line Description
function test_grep_file_simple_match 33
function test_grep_file_no_match 41
function test_grep_file_with_context_lines 46
function test_grep_file_open_failure_returns_empty 57
function test_grep_directory_skips_hidden_dirs 70
function test_grep_directory_skips_binary_suffixes 82
function test_grep_directory_skips_non_skip_subdirectories 93
function test_grep_directory_files_only 106
function test_grep_directory_with_context 117
function test_grep_directory_no_matches 125
function test_main_single_file_match 135
function test_main_single_file_match_with_context 142
function test_main_single_file_no_match 152
function test_main_directory 159
function test_main_ignore_case 165
function test_main_invalid_regex 172
function test_main_nonexistent_path 182
function test_main_files_only_flag 190