Snider
|
da6d6cfa1a
|
test(agentic): add unit tests for paths, status, queue, plans
Add comprehensive tests for pkg/agentic covering:
- status.go: writeStatus, readStatus, roundtrip, overwrite, error cases
- plan.go: writePlan, readPlan, planPath, roundtrip, directory creation
- queue.go: baseAgent edge cases, config defaults, concurrency checks
- prep.go: envOr, detectLanguage, detectBuildCmd, detectTestCmd, NewPrep
Coverage improved from 4.2% to 9.2%. All tests use t.TempDir(),
coreio.Local for file I/O, and _Good/_Bad/_Ugly naming convention.
Co-Authored-By: Virgil <virgil@lethean.io>
|
2026-03-21 14:03:40 +00:00 |
|