Orchestrata Ultimate › Tests › Reference › claude › test_file_edit_coverage
Tests reference — tests/claude/test_file_edit_coverage.py
Module of tests/claude, split out because the directory page would be too large.
Prose pending.
tests/claude/test_file_edit_coverage.py
source · 23 tests · 272 lines
Line-coverage tests for
claude/tools/file_edit.py.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_show_diff_prints_search_replace |
38 | |
| function | test_show_create_short_content |
45 | |
| function | test_show_create_long_content_truncates |
51 | |
| function | test_create_file_writes_content |
61 | |
| function | test_create_file_write_error_exits |
68 | |
| function | test_edit_file_missing_exits |
81 | |
| function | test_edit_file_not_a_file_exits |
89 | |
| function | test_edit_file_string_not_found_exits |
99 | |
| function | test_edit_file_multiple_without_all_exits |
109 | |
| function | test_edit_file_single_replace |
119 | |
| function | test_edit_file_replace_all |
128 | |
| function | test_edit_file_replace_all_single_occurrence |
135 | |
| function | test_edit_file_read_error_exits |
142 | |
| function | test_edit_file_write_error_exits |
158 | |
| function | test_main_create_new_file |
177 | |
| function | test_main_existing_file_without_old_exits |
183 | |
| function | test_main_nonexistent_with_old_exits |
193 | |
| function | test_main_edit_existing |
201 | |
| function | test_checkpoint_initializes_fresh_repo_and_commits |
211 | |
| function | test_checkpoint_clean_tree_with_head |
221 | |
| function | test_checkpoint_fresh_repo_no_head |
232 | |
| function | test_checkpoint_dirty_tree_commits |
239 | |
| function | test_checkpoint_git_init_failure_exits |
252 |