-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Labels
devdays25enhancementImprovement to an existing featureImprovement to an existing featuregood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Describe the enhancement
Create comprehensive unit tests for all command line argument parsing scenarios including edge cases, invalid arguments, and complex option combinations. Currently argument parsing logic is largely untested.
Version Number
Additional context
Create /cueman/tests/test_argument_parsing.py with coverage for:
- All command flags (-lf, -lp, -ll, -info, -pause, -resume, -term, etc.)
- Option combinations and conflicts
- Required vs optional argument validation
- Help text generation and formatting
- Invalid argument handling and error messages
- Default value application
- Version flag testing
- Server and facility argument processing
Mock argparse.ArgumentParser and test various argv combinations. Include negative tests for malformed arguments.
Metadata
Metadata
Assignees
Labels
devdays25enhancementImprovement to an existing featureImprovement to an existing featuregood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed