Skip to content

🧪 Add tests for ExtensionFunctions - #428

Open
aeldergentics wants to merge 1 commit into
SimonSchubert:mainfrom
aeldergentics:test-extension-functions-14709659603671986929
Open

🧪 Add tests for ExtensionFunctions#428
aeldergentics wants to merge 1 commit into
SimonSchubert:mainfrom
aeldergentics:test-extension-functions-14709659603671986929

Conversation

@aeldergentics

Copy link
Copy Markdown

🎯 What: Missing tests for pure functions in ExtensionFunctions.kt like formatFileSize and smartTruncate. 📊 Coverage: Added tests for byte, KB, MB, and GB bounds in formatFileSize. Added tests for short and truncated strings in smartTruncate. Also renamed ModelFormattingTest.kt to ExtensionFunctionsTest.kt. ✨ Result: Improved test coverage and reliability for string manipulation helpers.

🎯 **What:** Missing tests for pure functions in ExtensionFunctions.kt like formatFileSize and smartTruncate.
📊 **Coverage:** Added tests for byte, KB, MB, and GB bounds in formatFileSize. Added tests for short and truncated strings in smartTruncate. Also renamed ModelFormattingTest.kt to ExtensionFunctionsTest.kt.
✨ **Result:** Improved test coverage and reliability for string manipulation helpers.

Co-authored-by: aeldergentics <274678171+aeldergentics@users.noreply.github.com>

@aeldergentics aeldergentics left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧪 Add tests for ExtensionFunctions

🎯 What: Missing tests for pure functions in ExtensionFunctions.kt like formatFileSize and smartTruncate. 📊 Coverage: Added tests for byte, KB, MB, and GB bounds in formatFileSize. Added tests for short and truncated strings in smartTruncate. Also renamed ModelFormattingTest.kt to ExtensionFunctionsTest.kt. ✨ Result: Improved test coverage and reliability for string manipulation helpers. Co-authored-by: aeldergentics 274678171+aeldergentics@users.noreply.github.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant