Learning path
AI for test engineers
An AI course for testers: apply generative AI to everyday test automation, from AI-assisted test design to generating, healing and reviewing Playwright tests.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat you will be able to do
- Draft and critically review test ideas with a language model
- Explain what Playwright's planner, generator and healer agents do
- Review AI-generated tests for weak assertions before merging
- Add unit tests to legacy code with a coding agent and check they would catch bugs
- Test an LLM feature itself, including prompt-injection attempts
Steps
Step 1: AI for QA engineers: where it helps and where it doesn't
Where it helps in test design, agent-written tests and self-healing, where it does not, and the testing skills worth building.
The overview of where AI helps in testing and where it does not.
Step 2: Getting started with AI test case design
Use a language model to draft test cases for a feature, prompt it for coverage rather than happy paths, and review its ideas like a tester before you automate.
Step 3: Prompting fundamentals: clear tasks, examples and formats
How to write a good prompt: frame the task, say who the output is for, show an example and specify the format, so a model's answers are useful and repeatable.
Step 4: Playwright test agents: planner, generator and healer
How Playwright's planner, generator and healer test agents work, how to set them up with Claude Code or VS Code, and how to review the tests they write for you.
Step 5: Generate Playwright tests with AI agents, then review them
Approve a test plan before any code exists, generate tests from it and review them like production code.
Step 6: Fix flaky E2E tests with the Playwright healer, safely
Prove the flake, run Playwright's healer agent on a branch, check each change for red flags, keep a heal log and merge by hand.
Use the healer from the previous steps on a real flaky test, with review rules.
Step 7: Write unit tests for legacy code with a coding agent
An agent writes characterisation tests, you check for weak assertions and prove them with mutation testing.
Step 8: Write your first LLM eval
Turn real outputs into a small test set, add code-based checks in promptfoo and run them in CI to catch regressions on every change.
Testing a feature built on a model is a different job from using a model to test. This step covers the first.
Step 9: How to test LLM applications as a QA engineer
Contract tests on a scripted model, a golden set with pass-rate floors, a calibrated LLM judge and a regression gate.
Grows the single eval into a full test suite: contract tests, a golden set with pass-rate floors and a regression gate.
Step 10: Red-team your chatbot for prompt injection
Generate attacks for its purpose, confirm each failure by hand, apply mitigations and re-run.
AI for test engineers quiz
7 questions with explanations. Your score is saved when you are signed in.
Final quiz
Related paths
AI for product managers
Prompt for usable drafts, research with sources, write a PRD from evidence, prototype with app builders and read evals.
Building with the Claude API
Learn to build with the Claude API from your own code: the Messages API, tool use, structured output and prompt caching, then evaluate and trace what you built.
Evals and safety for LLM features
Catch regressions and attacks before users do, with error analysis, code-based evals, calibrated judges and prompt-injection tests.