llm-testing
Installation
SKILL.md
LLM Testing Patterns
Test AI applications with deterministic patterns using DeepEval and RAGAS.
Quick Reference
Mock LLM Responses
from unittest.mock import AsyncMock, patch
@pytest.fixture
def mock_llm():
mock = AsyncMock()
mock.return_value = {"content": "Mocked response", "confidence": 0.85}
return mock