AI and LLM Testing Training for chatbots, RAG and GenAI apps

Companies are shipping chatbots and AI assistants faster than they can test them. AI and LLM testing is a growing specialisation where QA engineers who understand model behaviour are in demand. This course gives you a practical, hands-on start.

COURSE AT A GLANCENEW
  • CourseAI / LLM Testing New
  • Duration6 weeks
  • ModeOnline
  • IncludesLive project, mock interviews, placement support
  • Fees and batch datesCall or WhatsApp us
Book a free demo class

Who is this course for?

AI / LLM Testing course syllabus

From Python basics to testing AI agents in production. Hands-on with Python, PyTest and DeepEval. Tap a module to open it.

What you will learn

The learning path

Module 1 AI, Generative AI & LLM FundamentalsFoundation · Beginner
TopicWhat you'll learn
AI & QA RoleEvolution of software testing, AI vs. traditional software, and where QA fits into modern AI project lifecycles
AI, ML, DL & GenAICore relationships, capabilities and boundaries across AI domains
Intro to LLMsHow LLMs generate responses, training vs. inference, and popular foundation models (GPT, Claude, Gemini, Llama)
Tokens & Context WindowsInput/output tokenization, cost models, context window limits and testing implications
LLM ParametersTemperature, Top-P, max tokens, frequency/presence penalties and their impact on test repeatability
Working with LLM APIsAPI architecture, request payloads, response structure, message roles and JSON mode formatting
Traditional vs. AI TestingDeterministic vs. probabilistic execution, expected outputs vs. acceptable semantic outputs
Module 2 LLM Application ArchitectureRAG & Agentic Workflows
TopicWhat you'll learn
Anatomy of an LLM AppInput processing, prompt templating, model invocation and response formatting layers
Prompt ArchitectureSystem prompts, dynamic user prompts, message history and constraint specification
LLM App WorkflowsChatbot structures, search assistants, content generators and customer service automation flows
Function & Tool CallingHow LLMs select tools, formulate JSON arguments, execute actions and process return values
Embeddings & Semantic SimilarityText-to-vector representation, high-dimensional spaces and calculating semantic distance
Vector Databases & RetrievalPurpose of vector DBs, indexing strategies, similarity search and metadata filtering
RAG ArchitectureEnd-to-end Retrieval-Augmented Generation flow — Retriever, Context, Generator
AI Agents & Agentic WorkflowsPlanning mechanisms, tool execution loops, multi-turn memory and autonomous task execution
Module 3 Fundamentals of AI & LLM TestingTest Strategy & Risk
TopicWhat you'll learn
Why AI Testing Is DifferentThe test oracle problem, non-determinism, subtle drift and evaluating open-ended text
Types of LLM TestingFunctional validation, prompt robustness, response quality, safety checks and performance tracking
Accuracy & Factual TestingGround truth comparison, reference answers and detecting factual discrepancies
Answer RelevancyMeasuring query-response alignment and handling off-topic or evasive answers
Hallucination DetectionDefining ungrounded statements, identifying fabricated facts and setting detection boundaries
Bias, Toxicity & FairnessIdentifying demographic bias, offensive outputs, stereotyping and unsafe content generation
Privacy & Data LeakagePII exposure, training data memorization, system prompt leakage and secure boundaries
Core AI Quality DimensionsAccuracy, relevance, faithfulness, safety, robustness, latency and token cost
Module 4 Prompt Engineering & Prompt Test DesignDesign & Robustness
TopicWhat you'll learn
Prompt Engineering BasicsStructuring clear instructions, contextual guidelines, output constraints and formatting rules
Common Prompt PatternsZero-shot, few-shot, role prompting, chain-of-thought and structured formatting strategies
Prompt Test DesignPositive test suites, negative inputs, edge cases, boundary parameters and ambiguous prompts
Prompt Robustness TestingEvaluating impact of wording tweaks, typos, sentence reshuffling and length variations
Structured Output TestingValidating JSON responses, key presence, schema types and error handling for malformed JSON
Prompt VersioningManaging prompt iterations, tracking degradation and running regression checks across updates
LLM Test DatasetDesigning evaluation datasets with inputs, expected behavior, context and scoring criteria
Module 5 LLM Evaluation & LLM-as-a-JudgeEvaluation Rubrics
TopicWhat you'll learn
The LLM Evaluation ProblemWhy exact string matching fails for open-ended text and how semantic evaluation solves it
Reference-Based vs. Reference-FreeEvaluating against ground-truth answers vs. context-only evaluation
LLM-as-a-Judge TechniquesCrafting judge prompts, evaluation personas, rubrics and structured explanations
Evaluation RubricsBuilding numeric scale rubrics, pass/fail thresholds and multi-criteria scoring models
Semantic Similarity & ThresholdsCosine similarity, embedding comparison and setting acceptance thresholds
Evaluator Bias & ConsistencyHandling position bias, self-preference bias, temperature controls and calibration
Custom AI Evaluator & LabStep-by-step Python evaluation module returning scores, reasoning and status
Module 6 Python & PyTest for LLM Test AutomationPython · PyTest · REST APIs
TopicWhat you'll learn
Python Environment SetupProject structures, virtual environments, pip dependencies and clean code principles
Python Essentials for AI TestingFunctions, dictionaries, lists, module imports, error handling and JSON manipulation
Working with REST APIsThe requests library, authentication headers, retry policies and timeout handling
Secrets ManagementEnvironment variables, .env file handling, secure key usage and preventing credential leaks
PyTest FundamentalsWriting test cases, assertions, parameterization, fixtures and setup/teardown practices
Automated LLM Test CasesIntegrating API clients directly into PyTest scripts with evaluation assertions
Data-Driven TestingReading test datasets from JSON/CSV and running parameterized PyTest runs
Modular Test FrameworkSeparating test cases, API clients, evaluation rubrics, data loaders and configuration
Module 7 Automated Evaluation with DeepEvalDeepEval · Hands-On Lab
TopicWhat you'll learn
Introduction to DeepEvalInstallation, configuration, architecture and core setup within a Python workspace
Structuring Test CasesCreating LLMTestCase instances with inputs, actual outputs, expected outputs and retrieval context
Answer Relevancy EvaluationImplementing relevancy metrics, configuring thresholds and interpreting failure reasons
Faithfulness & GroundednessEvaluating responses against supplied context to detect unsupported assertions
Hallucination MetricsAutomated hallucination testing using specialized DeepEval metric suites
Custom Metrics & Judge PromptsWriting domain-specific metrics using custom evaluation criteria and judge prompts
Multi-Turn Conversation TestingTesting context retention, multi-turn history tracking and dialogue flow
Reports & Hands-on LabExporting test run results and metric breakdowns · Lab: build an automated LLM evaluation suite with PyTest & DeepEval
Module 8 RAG Application & Retrieval TestingRetrieval-Augmented Generation
TopicWhat you'll learn
RAG Test StrategyIdentifying risk areas in chunking, indexing, retrieval, context injection and generation
Ingestion & Chunking TestsChunk size strategies, overlap behavior, boundary splits and metadata preservation
Embedding & Vector DB ValidationEvaluating top-K search results, similarity scores and metadata filtering accuracy
Precision, Recall & RelevancyMeasuring whether the retriever pulls correct and complete documents while excluding noise
End-to-End RAG SuiteConstructing full pipeline tests validating query-to-answer pathways
RAG Regression TestingDetecting degradation after knowledge base updates, embedding changes or prompt modifications
Module 9 AI Agent & Workflow TestingAgentic Testing · Hands-On Lab
TopicWhat you'll learn
AI Agent Testing StrategiesTesting autonomous decision loops, goal decomposition, step planning and memory integrity
Function & Tool Calling ValidationValidating tool selection logic, required/optional argument construction and execution handling
Multi-Step Workflow TestingAutomating tests for multi-tool dependencies, intermediate step validation and task completion
Agent Memory & Context RetentionValidating short-term conversation context, state updates and avoiding hallucinated history
Failure & Recovery TestingTesting resilience against broken API tools, malformed arguments, timeouts and fallback handling
Hands-on LabCreate an automated test suite for a multi-step AI agent application
Module 10 AI Security, Safety & RobustnessPrompt Injection · Jailbreaks
TopicWhat you'll learn
AI Security Testing FundamentalsAI-specific security risks vs. traditional web application vulnerabilities
Prompt InjectionDirect and indirect prompt injection concepts and basic detection techniques
Basic Jailbreak ScenariosCommon roleplay/override attack patterns and validating system safety guardrails
PII & System Prompt LeakageTesting for accidental disclosure of internal instructions, system prompts or personal data
Toxicity, Harm & Bias ScenariosRunning basic safety benchmarks to verify refusal mechanisms for inappropriate requests
Input RobustnessTesting system stability against long text strings, non-ASCII characters and formatting noise
Module 11 Chatbot UI & Non-Deterministic TestingChatbot & UI Validation
TopicWhat you'll learn
AI Application InterfacesWeb chat widgets, assistant portals and conversational design patterns
Manual & Automated Chatbot TestingCore manual test strategies, message input verification and element identification
Non-Deterministic UI ResponsesStructural assertions, essential keyword presence, regex matching and response shape checks
Simulating User ConversationsTesting multi-turn UI flows, context clearing, session resets and user action triggers
Timeouts & Streaming ResponsesHandling typing indicators, chunked token rendering, long delays and network retries
API + Frontend ValidationHybrid testing approach coupling frontend UI checks with backend API evaluations
Module 12 Continuous AI Integration & CI/CD PipelinesGitHub Actions · Quality Gates
TopicWhat you'll learn
AI Tests in Continuous IntegrationDesigning automated quality pipelines triggered on code or prompt changes
Test Data ManagementVersion-controlling test datasets, prompt templates and evaluation datasets with source code
Automated Reporting & ThresholdsDefining pass/fail criteria based on aggregated evaluation scores and quality benchmarks
PyTest & DeepEval in GitHub ActionsConstructing workflow YAML files to run automated AI test suites on push/pull requests
Managing Secrets SecurelyConfiguring GitHub Secrets for API keys, target endpoints and environment variables
AI Quality GatesBlocking pull requests or deployments when evaluation scores drop below target thresholds
Costs & Flakiness ManagementSampling strategies, cost-effective evaluation models, retries and score variance tolerance

Watch our AI / LLM Testing classes

See how we teach before you join. Watch the free demo and the first two classes from our earlier batch.

Tools you will use

PythonLLM APIsPrompt evaluation frameworksPostmanGit and GitHub

Roles this course prepares you for

AI QA EngineerLLM Test EngineerAutomation Test EngineerQA Lead

Why learn at Sri QA Academy

Learn | Practice | Grow

🎓

Expert Trainers

Learn from professionals with real industry experience.

💻

Live Projects

Build real project scenarios for your portfolio.

📊

Doubt Support

Get questions answered quickly, even after class.

💼

Placement Help

Resume building, mock interviews and job referrals.

Our students work at Wipro, TCS, Infosys, Cognizant and Rezolve.ai. Read their stories.

AI / LLM Testing: frequently asked questions

What is AI or LLM testing?

It is the practice of checking that AI applications give accurate, safe and consistent answers. It covers hallucinations, bias, prompt injection, retrieval quality in RAG systems and overall chatbot behaviour.

Do I need to know machine learning?

No. This course is for testers. You learn how LLMs behave and how to test them without building models.

Do I need coding skills?

Basic Python helps for the evaluation part. We cover the basics you need, and manual testers can follow along.

Is this course useful for experienced QA engineers?

Yes. It is designed to extend your existing testing skills to AI products, which many teams are now hiring for.

How is this different from using AI tools for testing?

Using AI tools to write tests is one skill. Testing AI applications themselves is another. This course focuses on testing AI systems.

Related courses

Book your free AI / LLM Testing demo class

Fill the form and we will reach you on WhatsApp with batch timings and fees.

  • 📞 +91 XXXXXXXXXX
  • ✉ info@sriqa.com
  • 📍 Your city, Telangana
Chat