Why Testing Sucks, Revisited

The Pragmatic Embedded Podcast · 18 Nov 2026 · 42m

AI in practice: 3 real uses of AI described

What this episode covers

Hosts Jeff Gable and Luca Ingianni revisit their 2019 episode on testing strategy, analyzing Guillermo Rauch's advice to 'write tests, not too many, mostly integration.' They debate the traditional testing pyramid, arguing that integration tests offer the best balance of confidence and speed compared to brittle unit tests or slow end-to-end tests. The conversation explores the role of Test-Driven Development (TDD), the use of tools like Base Ref for requirements traceability, and the impact of LLMs on generating embedded simulators and test suites, warning against the maintenance burden of AI-generated mocks.

AI in practice

Where this conversation describes AI being used to build or deliver a product. Part of the AI in practice tracker.

Engineering & simulation

LLMs are used to generate embedded simulators and testing harnesses, which nullifies the activation energy required to create host-based simulations and allows for wrapping near-complete end-to-end tests around them.

“Now you tell the LLM to do the damn simulator, and you test that it works, and you start building tests around that. Like, it makes that activation energy of setting it up, essentially nullified.”

Speaker 1 · Hear it at 33:11

Engineering & simulation

LLMs are used to refactor large swaths of code, removing the friction that previously discouraged refactoring due to brittle unit tests, thereby allowing codebases to remain cleaner.

“LLMs have changed the calculus here and that they will very happily refactor large sorts of large swaths of code, whereas in the past, I think the friction that, you know, lots of unit tests would introduce to refactoring, would make people not refactor…”

Speaker 1 · Hear it at 13:05

Engineering & simulation

LLMs are used to create testing loops and harnesses that were previously too tedious, enabling embedded engineers to build host-based simulators without needing separate OS programming skills.

“LLMs can make it very quick, very quick and easy to create testing harnesses and loops that may have just been too tedious to do before. There's almost no excuse now for your embedded product to not have a simulator that runs on the host…”

Speaker 1 · Hear it at 33:11

Mentioned

Tools
Base Ref
Also
Guillermo Rauch, Martin Fowler, Steve Branham, Miro Samek, Luca.engineer, Embedded AI Podcast

The summary, chapters and topics are generated from the episode’s audio by this directory, not written by The Pragmatic Embedded Podcast. The episode itself belongs to its publisher.