
Your regular tests can all pass while your chatbot still gives wrong, made-up or biased answers. LLM output is free-form and changes from run to run, so exact-match assertions stop working. This course is a beginner-friendly first step into testing LLM applications.
You'll learn the idea behind most LLM testing today: using one model as a judge to score another model's answers. Then you'll put it into practice with two popular open-source tools, DeepEval and Promptfoo. Everything runs on free local models through Ollama, so you don't need a paid API key to follow along.
What we cover:
Why LLM testing is different from traditional testing
Setting up Ollama, Python and the evaluation frameworks
Measuring correctness, relevance, faithfulness, hallucination, toxicity and bias with DeepEval
When to use DeepEval's built-in metrics and when to write your own with GEval
Testing a simple RAG application and an AI agent
Writing Promptfoo tests, comparing models, and running a first red-team scan
Running your evaluations in GitHub Actions with pass/fail thresholds
You'll finish with a small end-to-end project: tests and evals running in a GitHub Actions pipeline that you can keep on your GitHub.
Is this course right for you?
This is an introductory course for QA engineers and testers who are new to LLM testing and want a clear, hands-on starting point. If you already run LLM evaluations in production, you'll likely find it too basic. Advanced topics like in-depth red-teaming, agent memory testing and eval cost control are not covered here.
What you'll learn
Explain why unit, integration and E2E tests aren't enough for LLM applications
Use LLM-as-a-judge to score correctness, relevance, faithfulness, hallucination, toxicity and bias
Choose between DeepEval's built-in metrics and custom GEval metrics
Run a basic evaluation of a RAG application and an AI agent
Write Promptfoo tests with assertions and llm-rubric, compare models, and run a first red-team scan
Add evaluations to a GitHub Actions pipeline with pass/fail thresholds
Requirements
Basic Python: you can read and run scripts
Basic software testing knowledge, such as what a test case and an assertion are
A computer that can run a small local model with Ollama
No prior AI or LLM experience needed
Who this course is for
QA engineers, SDETs and testers taking their first steps into LLM testing
Developers who want a practical introduction to evaluating LLM applications