Skip to content

Conversation

@alxkm
Copy link
Contributor

@alxkm alxkm commented Aug 4, 2025

Enhanced test coverage for AzureOpenAiRuntimeHintsTests
Added comprehensive test cases to improve coverage of the AzureOpenAiRuntimeHints 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 for Azure model types
  • Idempotency testing: Verifies multiple registration calls don't create duplicates for both reflection and resource hints
  • Azure-specific validation: Tests for OpenAI client types (sync/async) and model classes registration
  • Resource hint verification: Specific tests for /azure-ai-openai.properties resource registration
  • Edge case coverage: Empty state validation and package scanning utility method testing

@sobychacko
Copy link
Contributor

Merged via 0ac540d.

@sobychacko sobychacko closed this Aug 5, 2025
@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 5, 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