-
Notifications
You must be signed in to change notification settings - Fork 503
Open
Labels
enhancementNew feature or requestNew feature or requestphase-4Validation TestingValidation Testingpriority: P3Low - Nice to haveLow - Nice to havetestingTest implementationTest implementation
Description
Description
Create tests for modern CLI enhancements (JSON output, session continuity, etc.).
Test File
tests/unit/test_cli_options.bats
Tests to Implement
- Test JSON output parsing from CLI
- Test sessionId extraction from JSON
- Test session continuity across loops
- Test allowed tools configuration
- Test tool permission enforcement
- Test --continue flag behavior
- Test --output-format flag
- Test --allowedTools flag
- Test error handling with structured JSON responses
- Test backward compatibility with text output
Dependencies
- Requires Phase 1 (CLI enhancements) to be implemented
Acceptance Criteria
- All CLI enhancement features tested
- JSON parsing tests pass
- Session continuity verified
- Tool permissions validated
- Backward compatibility confirmed
- All tests pass in CI/CD
References
- Issue Review codebase for updated Anthropic CLI #7 - Phase 4.1
- Related: Issues [P0] Phase 1.1: Update CLI commands with modern options #28-31 (Phase 1 implementations)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestphase-4Validation TestingValidation Testingpriority: P3Low - Nice to haveLow - Nice to havetestingTest implementationTest implementation