MCPcopy Create free account
hub / github.com/github/gh-aw / TestGetEngineArtifactPaths_NoOutputFiles

Function TestGetEngineArtifactPaths_NoOutputFiles

pkg/workflow/engine_output_test.go:15–22  ·  view source on GitHub ↗

TestGetEngineArtifactPaths_NoOutputFiles verifies that engines with no declared output files return nil from getEngineArtifactPaths.

(t *testing.T)

Source from the content-addressed store, hash-verified

13// TestGetEngineArtifactPaths_NoOutputFiles verifies that engines with no declared output
14// files return nil from getEngineArtifactPaths.
15func TestGetEngineArtifactPaths_NoOutputFiles(t *testing.T) {
16 // Claude engine declares no output files
17 claudeEngine := NewClaudeEngine()
18 require.Empty(t, claudeEngine.GetDeclaredOutputFiles(), "Claude engine should declare no output files")
19
20 paths := getEngineArtifactPaths(claudeEngine)
21 assert.Nil(t, paths, "getEngineArtifactPaths should return nil when engine has no output files")
22}
23
24// TestGetEngineArtifactPaths_WithOutputFiles verifies that engines with declared output files
25// return those paths plus the redacted URLs log appended.

Callers

nothing calls this directly

Calls 3

NewClaudeEngineFunction · 0.85
getEngineArtifactPathsFunction · 0.85

Tested by

no test coverage detected