Improve coverage for core utility classes#239
Conversation
This commit improves code coverage for utility classes in the org.moreunit.core bundle. Added: - ArrayUtilsTest.java - PreconditionsTest.java - ExtendedSafeRunnerTest.java The tests cover various scenarios including success paths and error/exception handling. Co-authored-by: RoiSoleil <3462260+RoiSoleil@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #239 +/- ##
============================================
+ Coverage 73.20% 73.30% +0.10%
- Complexity 3206 3235 +29
============================================
Files 416 420 +4
Lines 14339 14435 +96
Branches 1266 1266
============================================
+ Hits 10497 10582 +85
- Misses 3307 3322 +15
+ Partials 535 531 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This commit improves code coverage for utility classes in the org.moreunit.core bundle. Changes: - Added ArrayUtilsTest.java - Added PreconditionsTest.java (covering all methods and exception cases) - Added ExtendedSafeRunnerTest.java (including exception handling) - Improved StringsTest.java with coverage for emptyArray() These tests ensure that core utilities are robust and well-verified. Co-authored-by: RoiSoleil <3462260+RoiSoleil@users.noreply.github.com>
…StringConstants This commit improves code coverage for utility classes in the org.moreunit.core bundle. Changes: - Added ArrayUtilsTest.java - Added PreconditionsTest.java (covering all methods and exception cases) - Added ExtendedSafeRunnerTest.java (including exception handling) - Added StringConstantsTest.java - Improved StringsTest.java with coverage for emptyArray() - Improved StringLengthComparatorTest.java with more precise assertions These tests ensure that core utilities are robust and well-verified. Co-authored-by: RoiSoleil <3462260+RoiSoleil@users.noreply.github.com>
Improved code coverage by adding unit tests for three utility classes in the
org.moreunit.corebundle:ArrayUtils,Preconditions, andExtendedSafeRunner. These tests ensure that the core logic of these utilities is correctly verified.PR created automatically by Jules for task 8702093671803069398 started by @RoiSoleil