Skip to content

Conversation

@vincentstradiot
Copy link

@vincentstradiot vincentstradiot commented Dec 13, 2025

Hi, here is a Pull Request that extends and improves some test cases.

  • In the CollectionUtilsTest, it seems important to me to run each case/assert with a fresh enumeration. Otherwise, the test cases are not independent as we might already have enumerated some elements in case 1 when running case 2.
  • In general, I extended test cases to be more exhaustive and cover uncovered lines/branches/functionalities.

Thank you for the review, and have a nice day.

CollectionUtilsTests:
   - Every case must be run with a fresh enumeration
   - Extend test cases with non-existing element
ExponentialBackOffTests:
   - Rename test case to better reflect what it does
   - Extend test case with jitter functionality
BooleanComparatorTests:
   - Extend test cases to be more exhaustive

Signed-off-by: Vincent Stradiot <[email protected]>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Dec 13, 2025
AssertTests.isNullWithNonNullObject

Signed-off-by: Vincent Stradiot <[email protected]>
Add test cases that cover BeanFactoryUtils.uniqueBean method

Signed-off-by: Vincent Stradiot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged or decided on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants