FLPATH-4794 and FLPATH-2761 test plan updates/additions - #37
Conversation
…g FLPATH-4794 - FLPATH-4794 - new test plan with 6 test cases across static, subsystem, and CI tiers Signed-off-by: Thomas Stetson <tstetson@redhat.com>
Signed-off-by: Thomas Stetson <tstetson@redhat.com>
PR Summary by QodoAdd CLI/API contract plan and preventive CI recommendations
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
vkolodny
left a comment
There was a problem hiding this comment.
The three-tier approach is the right fix for FLPATH-4770. I'd hold merge until the executable steps match the real CLI and catalog-subsystem setup — as written, TC-03/04 would fail before they test the contract.
FLPATH-4794
- TC-03 cleanup deletes
contract-test-item, which TC-04 lists as a prerequisite. The website fixture also hardcodescatalog_item_id: small-vmwhile the setup createscontract-test-item.--idonly names the instance — the item id comes from the YAML. These can't be both independent cases and byte-for-byte website copies. One lifecycle, or generate the instance YAML with the created item id. - WireMock is not "already configured by compose."
test/subsystem/catalog/docker-compose.yamlstarts it with no mappings; the Ginkgo tests callstubPMCreateResource()in BeforeEach. A bash create against a bare stack will 404 on placement beforeuser_values[].resourceis tested. - The sample tests use
parseInputFileAs[CatalogItemFile]/InstanceFile. Those types don't exist. The path that dropped fields in 4770 isCreateCatalogItemJSONRequestBody/CreateCatalogItemInstanceJSONRequestBody. - Plan AC doesn't match the Jira AC. Ticket AC1 is a static CLI-repo test; the plan's AC1 is subsystem create. Plan AC2 (website YAML vs OpenAPI on doc PRs) has no numbered TC.
- TC-06 extracts two timestamps and stops at a comment. Tagged versions have no 14-digit stamp, so the check is a no-op.
FLPATH-2761
This is a new 1042-line file, not a v1.2→v1.3 diff. Fine to archive the run, but the current steps are stale:
- FLPATH-2761 404s for me. The live testing ticket looks like FLPATH-4786. Branch is also named
FLPATH-2671(unrelated closed story). - TC-09 still runs
dcm providers list/dcm catalog-items list. Current CLI is nested (dcm sp provider,dcm catalog item). The execution results already recorded that as PASS. - TC-03 URLs don't match TC-01 (
create-catalog-itemvscreate-small-vm-catalog-item). - TC-02 cleanup
cd control-plane/deployaftercd cliwon't find that path. - The "Proposed Jira" block is now a duplicate of FLPATH-4770 — a link is enough.
The Preventive CI section is the useful v1.3 delta and matches 4794. The rest reads as a report now, not a plan to re-run as written.
vkolodny
left a comment
There was a problem hiding this comment.
See inline comments on the FLPATH-4794 test plan.
Signed-off-by: Thomas Stetson <tstetson@redhat.com>
…ntation updates Signed-off-by: Thomas Stetson <tstetson@redhat.com>
Details
test-plans/FLPATH-4794-cli-api-contract-testing.md(new)Defines a contract testing strategy between the CLI and control-plane API:
spec.resourcesanduser_values[].resourcecatalog-subsystemcompose stack)go.modstaleness check)test-plans/FLPATH-2761-tech-demo-poc.md(v1.2 → v1.3)Added "Preventive CI Recommendations" section with: