Skip to content

Use CliRunner in CLI tests #33

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
merged 2 commits into from
May 23, 2025

Conversation

davegaeddert
Copy link
Member

Summary

  • use click.testing.CliRunner for CLI tests
  • invoke CLI with prog_name='plain'
  • assert on CLI result output

Testing

  • bash scripts/test

@davegaeddert davegaeddert enabled auto-merge (squash) May 23, 2025 15:19
@davegaeddert davegaeddert merged commit 284050a into master May 23, 2025
12 checks passed
@davegaeddert davegaeddert deleted the codex/refactor-tests-to-use-clirunner branch May 23, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant