-
Notifications
You must be signed in to change notification settings - Fork 7
test: automated integration tests for the CLI wizard #18
Copy link
Copy link
Open
Labels
cliImprovements to the interactive wizard or terminal output.Improvements to the interactive wizard or terminal output.enhancementNew feature or requestNew feature or requesttestingNew tests or improvements to the testing suite.New tests or improvements to the testing suite.
Description
Problem Statement
The cli.py file is currently completely untested, despite being the primary user interface. As we add features like headless mode and programmatic APIs, we need to ensure the wizard flow remains stable and doesn't break.
Proposed Solution
- Set up a testing framework for CLI interactions (e.g., using
click.testing.CliRunneror Rich's own verification utilities). - Create
tests/test_cli.py. - Implement tests that simulate user input for profile setup, agent configuration, and session controls, verifying that the correct configuration objects are created and passed to the Session.
Alternatives Considered
Manual regression testing, which is time-consuming and unreliable as the codebase grows.
Priority
Low 🟢
Additional Context
Crucial for maintaining a premium, bug-free UX as the project complexity increases.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cliImprovements to the interactive wizard or terminal output.Improvements to the interactive wizard or terminal output.enhancementNew feature or requestNew feature or requesttestingNew tests or improvements to the testing suite.New tests or improvements to the testing suite.