The part you don't speed up sets the limit.Amdahl's law: 1 ÷ ((1 − p) + p ÷ s). Example with coding at 30% of the path.
AI code looks right. That is the problem.
Our developers became a proxy.
?
Who has seen AI output go straight to QA, untested?
Part 2
A Lean lens on QA
Five wastes every software shop knows
1 Waiting
for builds and test environments
2 Handoffs
dev to QA and back, with context lost each time
3 Rework
fixing the same feature twice after a late bug
4 Over-processing
the full suite for a one-line change
5 Late bugs
found after the release, by a customer
Hold up 1 to 5 fingers: which one costs your team most?
Build quality in at each step
Small batches get real feedback
50 lines
A real review and a targeted test run
2,000 lines
A skim, and the full suite
Part 3
Shift left: QA at every step
One approval flow, ticket to release
Refinement
Examples before code: can a manager reject with no reason?
Backend
Contract test on every PR: approving twice is refused
Frontend
Component check: buttons lock while a decision saves
Integration
End to end: the requester is notified, exactly once
Shout it out
Which layer should catch it?
A manager approves the same request twice
Backend contract test
The Approve button can be clicked again while it saves
Frontend component check
Nobody knows what happens if a request is edited after approval
Refinement: it's a question
The requester gets two "approved" emails
Integration test
Shout it out: where is done for your team today?
Move the finish line
Where a QA person's week goes
Before
Executing checks at the end
Designing tests
After
Designing tests
Coaching developers
Owning quality signals
Executing
The shape, not a measurement
Part 4
AI agents as QA teammates
Jobs agents do well
Draft test cases from acceptance criteria
Flag risky changes and missing tests on a PR
Pick the tests a change actually affects
Triage flaky tests and failure logs
Explore a preview build for obvious breakages
Hands up: which would you hand over first?
The agent proposes. A person decides.
Agent output
A person reviews
Merge
Humans own the expected results
Review it like a junior teammate's work
What didn't work for us
Unclear logic in, confident wrong tests out
Acceptance criteria
Managers can approve…?
Agent
Generated test
Any manager can approve any request
✓ Passes
Wrong assumption
An agent can only test what the acceptance criteria make clear.
How we work with agents
One loop, two lanes
Worked example · steps 1 to 3
Ticket in, test cases out
Ticket · acceptance criteria
Approve or reject a request
A manager can approve or reject a pending request.
A rejection needs a reason.
The requester is notified of each decision.
Requests over ₹50,000 need a second approver.
What the agent drafted
1Manager approves a pending requestKeep
2Rejecting without a reason is refusedKeep
3Requester gets one notice per decisionKeep
4₹60,000 request, one approval: ApprovedFixA person sets it: waiting for second approver
5Same manager gives both approvalsAsk
6The Approve button is greenDrop
Worked example · step 3
The case becomes a check on the PR
// skeleton drafted by the agent
test('big requests wait for a second approver',
async ({ page }) => {
await loginAs(page, 'manager');
await openRequest(page, { amount: 60000 });
await page.getByRole('button', { name: 'Approve' }).click();
await expect(page.getByTestId('status')).toHaveText('Waiting for second approver');
});
Expected result written by a person
Checks on the pull request
Faster approvals
✓Manager approves a request
✓Rejection needs a reason
✓One notice per decision
✗Big requests wait for a second approver
Caught before merge
Worked example · step 4
The agent reads the PR diff
Pull request: let finance admins approve requests
function canApprove(user, request) {
- return user.role === 'manager';
+ return user.role === 'manager'
+ || user.role === 'finance_admin';
}
Who approves is now a different question. The agent also lists what no test covers yet.
The test suite
6of 48 tests touch this change. Run these, not the whole suite.
Worked example · step 5 · gaps the agent found
Which gaps would you keep?
A
A finance admin approves their own request
Keep
B
A finance admin is the second approver on a big request
Ask
C
An admin loses the role while a request is open
Keep
D
Load test Approve with 10,000 clicks
Drop
E
Check the role's name is spelled right on screen
Drop
Hands up for each one you'd keep: A, B, C, D, E.
Part 5
Measure it, then scale it
What happened on our teams
40%+
better time to ship
½
leaked bugs, cut by more than half
Because testing happened at every step:✓ Backend✓ Frontend✓ Integration
Five numbers to watch
↓
Time a change waits for QA
↓
PR-to-merge lead time
↓
Escaped defects
↑
Stories with tests at dev-complete
↓
Flaky test rate
Roll it out small
One squad
Two weeks
Compare to baseline
Then expand
Speed without early quality just moves the queue to QA.
Three things to try on Monday
1
Invite QA into refinement
2
Add one PR-level check per layer
3
Give one agent one narrow job, and review its work
Turn to your neighbour: which one will you try first? 30 seconds.
Ship fast by testing early, not by testing faster at the end.
Questions?
adeen.me
linkedin.com/in/adeen-s
Slides and notes: adeen.me/talks/lean-qa-ai
Adeen Shukla · Lean QA in the age of AI
0:00
→ or space: next · ←: back · T: restart timer · B: black screen · D: dark or light
→ or click to advance · F full screen · S presenter view · N notes · B black · D dark