Skip to content

test: Generate golden files for all (visible) CLI commands #5479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Dec 20, 2022

This PR expands the existing implementation and iterates over subcommands to find all (non-hidden) commands and creates golden files for their --help output.

This way we can protect against surprising UI/UX regressions in the CLI.

@mafredri mafredri self-assigned this Dec 20, 2022
@mafredri mafredri marked this pull request as ready for review December 20, 2022 20:11
@mafredri mafredri requested review from a team, Kira-Pilot and Emyrk and removed request for a team December 20, 2022 20:11
@mafredri mafredri merged commit c5cfefe into main Dec 20, 2022
@mafredri mafredri deleted the mafredri/test-generate-golden-files-for-all-cli-commands branch December 20, 2022 20:17
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants