A green build tells you a lot less than you think. Gil Zilberfeld of TestinGil, trainer and consultant on unit testing, TDD, clean code and API testing, joins David to unpack what actually makes quality build into software from day one. We cover getting TDD into a ten-year-old codebase that actively resists it, why refactoring is the step everyone quietly drops, what an "80% coverage" target really buys you, and why APIs deserve far more respect than "send a request, check the status code".
Then AI: why Gil can't get his coding agent to honour the red step without external scripts and git checks, what self-healing tests really are underneath the magic, and the new ground testers now have to cover — prompt injection, history poisoning, performance, and the token bill.
Chapters
00:00 Welcome to BrowserStack Talks
00:31 Meet Gil Zilberfeld, TestinGil
01:06 Video games, flaky tests and testing hype
02:34 Teaching TDD in a legacy codebase that resists it
05:34 Why teams skip the refactor step
11:21 Why TDD matters more in the age of AI agents
16:12 Coverage targets, mutation testing and what really matters
21:03 Good beats perfect: the cost of maintenance
22:30 Giving APIs the respect they deserve
26:59 Complex systems, flaky tests and the elevator analogy
29:27 Breaking flakiness down into something manageable
33:16 Observability and tests as executable documentation
34:57 What do your test results actually mean?
37:09 Self-healing tests: magic, or method?
40:45 Hallucinated edge cases and AI bias in test suites
41:38 Security, performance and tokens: the tester's new remit
44:32 "We don't need QA" and the AI reckoning
48:17 Quick fire round
Where to find Guest: Gil Zilberfeld — https://testingil.com
Host: David Burns, BrowserStack New episode of BrowserStack Talks every two weeks, where we turn testing pain points into playbooks.