Skip to main content

Functional tests check product quality, not security. Use them next to red teaming when you need both evidence in one plan.

Test generation methods

From RAG

Generate tests from your knowledge base

From Dataset

Use existing Q&A datasets

From Prompt

Generate tests dynamically with LLMs

When to Use Functional Testing


Evaluation Methods

Functional tests can be evaluated using:
  • LLM-as-Judge: Use an LLM to assess response quality
  • Heuristics: Use BLEU, exact match, regex patterns
  • Custom evaluators: Define your own evaluation logic
Learn more about evaluation →

Quick Example