oracletrace
oracletrace copied to clipboard
[Bug]: Existing --top test masks parsing/validation bug
Summary
A current CLI test for --top appears to pass even when --top parsing/validation is broken, masking the real bug.
Expected Behavior
Tests should fail when --top accepts invalid values or behaves incorrectly.
Actual Behavior
Test(s) still pass under buggy behavior.
Proposed Solution
- Rewrite the test to assert strict parsing/validation
- Add negative tests for invalid inputs
Acceptance Criteria
- Test fails on buggy behavior, passes on correct behavior
- Invalid inputs are covered
Affected Files
tests/test_cli.py
Hi @KaykCaputo, I'd like to work on this issue. Could you please assign it to me?
Hi @witharyank, I will assign to you, let me know you have any questions. Thx
Thank you! I've submitted a PR for this issue (#54). Please let me know if any changes are needed.