Skip to content

Conversation

@alxkm
Copy link
Contributor

@alxkm alxkm commented Aug 4, 2025

Enhanced test coverage for AnthropicRuntimeHintsTests

Added comprehensive test cases to improve coverage of the AnthropicRuntimeHints class:

  • Test infrastructure: Added @beforeeach setup for better test isolation
  • ClassLoader scenarios: Tests with null and custom ClassLoaders
  • Member category validation: Ensures all MemberCategory values are registered
  • Idempotency testing: Verifies multiple registration calls don't create duplicates
  • Enum type verification: Specific tests for enum classes registration
  • Edge case coverage: Empty state validation and utility method testing

@alxkm alxkm changed the title test: Enhanced test coverage for AnthropicRuntimeHintsTests test: Enhanced test coverage for AnthropicRuntimeHintsTests Aug 4, 2025
@sobychacko sobychacko merged commit 5483c7f into spring-projects:main Aug 5, 2025
2 checks passed
@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 5, 2025
scionaltera pushed a commit to scionaltera/spring-ai that referenced this pull request Sep 3, 2025
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
Willam2004 pushed a commit to Willam2004/spring-ai that referenced this pull request Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants