Skip to content

GH-3289: Test CLI help, version and error handling - #3848

Open
zhangxinyao88 wants to merge 1 commit into
apache:masterfrom
zhangxinyao88:codex/parquet-3289-cli-behavior
Open

zhangxinyao88 wants to merge 1 commit into
apache:masterfrom
zhangxinyao88:codex/parquet-3289-cli-behavior

Conversation

@zhangxinyao88

Copy link
Copy Markdown
Contributor

Rationale for this change

Continue #3289 with CLI behavior coverage, using the test helper added in #3843.

What changes are included in this PR?

Add 19 test cases for help and version commands, invalid commands/options, missing option values, missing required arguments, and nonexistent input files. Tests check output and exit codes.

Are these changes tested?

CLI module tests: 89 passed, 2 skipped. Spotless and license checks passed.

Are there any user-facing changes?

No. Tests only.

@wgtmac

wgtmac commented Oct 11, 2026

Copy link
Copy Markdown
Member

I'm just wondering do we really need test cases like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants