TestClaudeEngineGetHarnessScriptName verifies that the Claude engine returns the built-in harness script name, which wraps Claude Code CLI execution with retry logic for transient Anthropic API errors (overload, rate limit).
(t *testing.T)
| 747 | // harness script name, which wraps Claude Code CLI execution with retry logic for transient |
| 748 | // Anthropic API errors (overload, rate limit). |
| 749 | func TestClaudeEngineGetHarnessScriptName(t *testing.T) { |
| 750 | engine := NewClaudeEngine() |
| 751 | harnessName := engine.GetHarnessScriptName() |
| 752 | if harnessName != "claude_harness.cjs" { |
| 753 | t.Errorf("Expected 'claude_harness.cjs', got %q", harnessName) |
| 754 | } |
| 755 | } |
| 756 | |
| 757 | // TestClaudeEngineHarnessUsesPromptFile verifies that when the built-in harness is used, |
| 758 | // the execution step passes --prompt-file instead of inline shell expansion. |
nothing calls this directly
no test coverage detected