Move renderer tests to captured templates
This commit is contained in:
@@ -185,6 +185,12 @@ are deliberately migrated in Stage 6 rather than accommodated in production.
|
||||
|
||||
## Stage 6: Move Renderer Tests Onto Captured Templates
|
||||
|
||||
**Completed:** Renderer fixtures and benchmarks now compile captured templates
|
||||
before rendering; invalid syntax, missing captures, cancellation, session, and
|
||||
artifact behavior remain covered. Go 1.27.3 `go test ./internal/prompt
|
||||
./internal/configuration ./internal/usecase` passed, resolving the deferred
|
||||
repository and renderer checks.
|
||||
|
||||
**Finding:** 3. **Scope:** prompt rendering tests/benchmarks and their use-case/configuration callers.
|
||||
|
||||
1. Use `CompileTemplate` and a small `TemplateLookup` fixture, or a loaded
|
||||
|
||||
Reference in New Issue
Block a user