Skip to content

test(cli): cover init, status, and generate-flag CLI gaps - #343

Merged
joshua-temple merged 1 commit into
mainfrom
test/cover-cli-gaps
Jun 25, 2026
Merged

joshua-temple merged 1 commit into
mainfrom
test/cover-cli-gaps

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Closes #329, #330, #331.

Adds cmd-level integration coverage for previously-unasserted CLI behaviors (all pure-CLI, no act+gitea needed):

Also fixes a test that leaked generated workflow artifacts into the source tree (now anchored to a temp dir). Local: cmd/cascade 32 tests, internal/initcmd 21 tests pass; build + golangci-lint clean.

Adds cmd-level integration coverage for previously-unasserted CLI behaviors: cascade init topology/envs/dir/name scaffolding; status env/build/deploy/consistency including --json and required --env negatives; and generate non-default flags (--output, --promote-output, --orchestrate-only, --promote-only, --action-folder) plus schema, version, branch-protection, and quiet verify. Fixes a test that leaked generated artifacts into the source tree by anchoring generation to a temp dir. Closes #329, closes #330, closes #331.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple
joshua-temple merged commit 9283d0c into main Jun 25, 2026
13 checks passed
@joshua-temple
joshua-temple deleted the test/cover-cli-gaps branch June 25, 2026 00:18
@joshua-temple joshua-temple added the test Adding or correcting tests label Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Adding or correcting tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(e2e): exercise the cascade init scaffold family

1 participant