oracletrace icon indicating copy to clipboard operation
oracletrace copied to clipboard

[Bug]: Existing --top test masks parsing/validation bug

Open KaykCaputo opened this issue 7 months ago • 3 comments

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

KaykCaputo avatar Apr 17 '26 12:04 KaykCaputo

Hi @KaykCaputo, I'd like to work on this issue. Could you please assign it to me?

witharyank avatar Apr 19 '26 19:04 witharyank

Hi @witharyank, I will assign to you, let me know you have any questions. Thx

KaykCaputo avatar Apr 19 '26 19:04 KaykCaputo

Thank you! I've submitted a PR for this issue (#54). Please let me know if any changes are needed.

witharyank avatar Apr 19 '26 19:04 witharyank