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 <vincentstradiot@hotmail.com>
@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 <vincentstradiot@hotmail.com>
Add test cases that cover BeanFactoryUtils.uniqueBean method Signed-off-by: Vincent Stradiot <vincentstradiot@hotmail.com>
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

2 participants