Gradle Test Run :test

OllamaClientTest

summary

4

tests

0

failures

0

skipped

0.100s

duration

100%

successful

Child Name Tests Failures Skipped Duration Success rate
isAvailable returns false when the Ollama /api/tags endpoint throws an IOException isAvailable_returnsFalseWhenTagsEndpointFails() 1 0 0 0.002s 100%
isAvailable returns true when the Ollama /api/tags endpoint responds successfully isAvailable_returnsTrueWhenTagsEndpointResponds() 1 0 0 0.083s 100%
suggestForClass parses wrapped JSON, normalizes invalid entries, and builds expected request body suggestForClass_parsesWrappedJson_normalizesInvalidEntries_andBuildsExpectedRequestBody() 1 0 0 0.007s 100%
suggestForClass throws AiSuggestionException when model returns text without a JSON object suggestForClass_throwsWhenModelReturnsTextWithoutJsonObject() 1 0 0 0.006s 100%