Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
LLM Testing for QA Beginners: DeepEval, Promptfoo & CI
Rating: 2.0 out of 5(3 ratings)
17 students

LLM Testing for QA Beginners: DeepEval, Promptfoo & CI

Learn LLM-as-a-judge, test a RAG app and an agent, and run your evals in GitHub Actions using free local models
Created byMadhulika Mitra
Last updated 10/2026
English

What you'll learn

  • Explain why unit, integration, and E2E tests are not enough for generative AI
  • Test RAG end to end — retrieval quality and grounded generation along with agentic multi flow testing
  • Deepeval evaluation metrics , Promptfoo security testing
  • Put evaluations in CI/CD with thresholds, quality gates, and cost control

Course content

9 sections • 23 lectures • 3h 59m total length
  • Welcome to testing LLM applications3:03

Requirements

  • Python programming expertise and Testing fundamentals

Description

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

Who this course is for:

  • QA engineers, SDETs, and testers moving into AI quality roles