Test the execution example in Go
This commit is contained in:
@@ -88,6 +88,10 @@ Validation: format changed Go files and run
|
||||
`go test ./examples/go-library/run`. Confirm the test executes the workflow,
|
||||
not just the summary type. These expected values describe this fixture only.
|
||||
|
||||
Completion: extracted the execution workflow and JSON encoding into a helper
|
||||
with explicit context, resource directory, and writer. The focused Go test
|
||||
executes the workflow and checks its summary; it passed on Go 1.27.0.
|
||||
|
||||
## Stage 2: Test Preparation With Explicit Resource Context
|
||||
|
||||
Scope: `examples/go-library/prepare/main.go` and its new `main_test.go`.
|
||||
|
||||
Reference in New Issue
Block a user