| Child |
Name |
Tests |
Failures |
Skipped |
Duration |
Success rate |
| create with ANTHROPIC provider returns AnthropicClient when isAvailable() is true |
create_withAnthropicProvider_returnsAnthropicClientWhenAvailable() |
1 |
0 |
0 |
0.001s |
100% |
| create with ANTHROPIC provider throws AiSuggestionException with 'Anthropic API key missing' when unavailable |
create_withAnthropicProvider_throwsWhenUnavailable() |
1 |
0 |
0 |
0.046s |
100% |
| create with AUTO provider falls back to OpenAiCompatibleClient when Ollama unavailable but API key is present |
create_withAutoProvider_fallsBackToOpenAiCompatibleWhenOllamaUnavailableAndApiKeyPresent() |
1 |
0 |
0 |
0.001s |
100% |
| create with AUTO provider returns OllamaClient when Ollama isAvailable() is true |
create_withAutoProvider_returnsOllamaWhenAvailable() |
1 |
0 |
0 |
0.001s |
100% |
| create with AUTO provider throws AiSuggestionException when Ollama unavailable and no API key is configured |
create_withAutoProvider_throwsWhenOllamaUnavailableAndNoApiKeyConfigured() |
1 |
0 |
0 |
0.109s |
100% |
| create with AZURE_OPENAI provider returns AzureOpenAiClient when isAvailable() is true |
create_withAzureOpenAiProvider_returnsAzureOpenAiClientWhenAvailable() |
1 |
0 |
0 |
0.045s |
100% |
| create with AZURE_OPENAI provider throws AiSuggestionException with 'Azure OpenAI API key missing' when unavailable |
create_withAzureOpenAiProvider_throwsWhenUnavailable() |
1 |
0 |
0 |
0.002s |
100% |
| create with GITHUB_MODELS provider returns OpenAiCompatibleClient when isAvailable() is true |
create_withGithubModelsProvider_returnsOpenAiCompatibleClientWhenAvailable() |
1 |
0 |
0 |
0.001s |
100% |
| create with GITHUB_MODELS provider throws AiSuggestionException with 'GitHub token missing' when unavailable |
create_withGithubModelsProvider_throwsWhenUnavailable() |
1 |
0 |
0 |
0.002s |
100% |
| create with GROQ provider returns OpenAiCompatibleClient when isAvailable() is true |
create_withGroqProvider_returnsOpenAiCompatibleClientWhenAvailable() |
1 |
0 |
0 |
0.001s |
100% |
| create with GROQ provider throws AiSuggestionException with 'Groq API key missing' when unavailable |
create_withGroqProvider_throwsWhenUnavailable() |
1 |
0 |
0 |
0.001s |
100% |
| create with MISTRAL provider returns OpenAiCompatibleClient when isAvailable() is true |
create_withMistralProvider_returnsOpenAiCompatibleClientWhenAvailable() |
1 |
0 |
0 |
0.001s |
100% |
| create with MISTRAL provider throws AiSuggestionException with 'Mistral API key missing' when unavailable |
create_withMistralProvider_throwsWhenUnavailable() |
1 |
0 |
0 |
0.001s |
100% |
| create with OLLAMA provider returns OllamaClient without performing an availability check |
create_withOllamaProvider_returnsOllamaClientWithoutAvailabilityCheck() |
1 |
0 |
0 |
0.001s |
100% |
| create with OPENAI provider returns OpenAiCompatibleClient when isAvailable() is true |
create_withOpenAiProvider_returnsOpenAiCompatibleClientWhenAvailable() |
1 |
0 |
0 |
0.001s |
100% |
| create with OPENAI provider throws AiSuggestionException with 'OpenAI API key missing' when unavailable |
create_withOpenAiProvider_throwsWhenUnavailable() |
1 |
0 |
0 |
0.002s |
100% |
| create with OPENROUTER provider returns OpenAiCompatibleClient when isAvailable() is true |
create_withOpenRouterProvider_returnsOpenAiCompatibleClientWhenAvailable() |
1 |
0 |
0 |
0.001s |
100% |
| create with OPENROUTER provider throws AiSuggestionException with 'OpenRouter API key missing' when unavailable |
create_withOpenRouterProvider_throwsWhenUnavailable() |
1 |
0 |
0 |
0.001s |
100% |
| create with XAI provider returns OpenAiCompatibleClient when isAvailable() is true |
create_withXaiProvider_returnsOpenAiCompatibleClientWhenAvailable() |
1 |
0 |
0 |
0.003s |
100% |
| create with XAI provider throws AiSuggestionException with 'xAI API key missing' when unavailable |
create_withXaiProvider_throwsWhenUnavailable() |
1 |
0 |
0 |
0.001s |
100% |