-
Couldn't load subscription status.
- Fork 118
Add boundary test cases for UUID length and file extensions #485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add boundary test cases for UUID length and file extensions #485
Conversation
f13e850 to
4d3fd87
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #485 +/- ##
==========================================
- Coverage 80.22% 80.20% -0.03%
==========================================
Files 61 61
Lines 13327 13342 +15
Branches 13327 13342 +15
==========================================
+ Hits 10692 10701 +9
- Misses 2090 2094 +4
- Partials 545 547 +2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome LGTM thank you!
|
@hackintoshrao can you update this PR with the latest changes in |
This commit adds explicit boundary test cases to existing tests: 1. In test_uuid_checkpoint_patterns: - Tests UUID with exactly 35 characters (one too short) - Uses realistic UUID format: "3a0d65cd-4056-49b8-937b-95f9e3ee90e" 2. In test_unknown_invalid_patterns: - Tests file with no extension (returns Ok(None)) - Tests file with empty extension "." (returns Ok(Some) with Unknown type) formatting.
Removes the redundant first assertion Keeps the more specific matches! assertion Uses the more descriptive error message about the 35-character UUID Makes the test more concise while maintaining clarity about what we're testing
38ede16 to
0d5ae77
Compare
This PR adds explicit boundary test cases to existing tests:
In test_uuid_checkpoint_patterns:
In test_unknown_invalid_patterns: