Repository navigation
Description
Related: #635 (per-method test coverage)
15 providers carry a testdata/integration.star. Nothing executes any of them.
Providers with testdata/integration.star |
15 |
integration_test.go files that exist |
1 (flow) |
| Provider packages that read their own testdata | 0 |
| Orphaned fixture lines | 305 |
Even flow/integration_test.go does not load its fixture. No literal reference to the filename exists in
any Go file, and no glob or directory walk discovers them — devlore-test loads fixtures by explicit name
from its own testdata, not from provider packages.
Where they came from
docs/plans/add-test-coverage.md paired an integration_test.go with a testdata/integration.star for
each provider. The fixtures were written. The Go side that would run them never landed.
That plan's checkboxes overstate what shipped. Line 53 marks platform complete —
"integration_test.go + testdata/integration.star" — and pkg/op/provider/platform/integration_test.go
does not exist. Anyone starting from that document starts from a false premise about what is covered.
Why it matters beyond the dead weight
Code nothing runs, drifts. pkg/op/provider/ui/testdata/integration.star calls ui.success(...); the
method is Succeed. That fixture would raise a NameError on its first execution, and its header claims to
exercise "all five messaging methods" when there are six. Those errors survived because no test has ever
loaded the file.
There is no reason to think the other 14 are cleaner — they have had exactly the same amount of
verification, which is none.
Proposal
- Delete all 15 fixtures. They are unreachable, unverified, and the wrong shape for Per-method test coverage: a unit test and a functional test for every provider method #635, which calls
for per-method coverage rather than per-provider smoke scripts. - Correct
add-test-coverage.mdso its status reflects the tree, or retire it if Per-method test coverage: a unit test and a functional test for every provider method #635 supersedes it.
A plan claiming coverage that does not exist is worse than no plan. - Let Per-method test coverage: a unit test and a functional test for every provider method #635 build the real thing from a known-empty starting point.
ui's copy is being deleted under #700, which sweeps that directory's call sites anyway. This issue covers
the remaining 14.
Evidence of completion
- No
pkg/op/provider/*/testdata/integration.starremains unreferenced -
add-test-coverage.mdstates what is actually in the tree, or is retired - Per-method test coverage: a unit test and a functional test for every provider method #635 starts from a verified baseline
Activity
ui takes the root namespace and replaces print and fail (#708)