Skip to content

test: improve coverage for Strings utility class#282

Open
RoiSoleil wants to merge 1 commit into
masterfrom
test-coverage-strings-utility-18221104773447823059
Open

test: improve coverage for Strings utility class#282
RoiSoleil wants to merge 1 commit into
masterfrom
test-coverage-strings-utility-18221104773447823059

Conversation

@RoiSoleil
Copy link
Copy Markdown
Contributor

J'ai amélioré la couverture de tests pour la classe utilitaire Strings dans le module org.moreunit.core.test.

  • Ajout de tests pour les méthodes join utilisant StringBuilder (tableaux et collections).
  • Ajout de tests pour les cas aux limites (chaînes vides ou nulles) de countOccurrences.
  • Ces ajouts n'altèrent en rien le comportement de production et évitent d'introduire des tests instables liés à l'interface utilisateur.

PR created automatically by Jules for task 18221104773447823059 started by @RoiSoleil

Added missing tests for empty edge cases in countOccurrences and added coverage for the overloaded join methods utilizing StringBuilder.

Co-authored-by: RoiSoleil <3462260+RoiSoleil@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

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
Copy link
Copy Markdown

codecov Bot commented May 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.15%. Comparing base (229eb6b) to head (ff4b6fd).

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #282      +/-   ##
============================================
+ Coverage     75.11%   75.15%   +0.03%     
- Complexity     3312     3317       +5     
============================================
  Files           422      422              
  Lines         14561    14575      +14     
  Branches       1271     1271              
============================================
+ Hits          10938    10954      +16     
+ Misses         3090     3089       -1     
+ Partials        533      532       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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