Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

The Pragmatic Embedded Podcast

The Pragmatic Embedded Podcast artwork

Why Testing Sucks, Revisited

Nov 18, 202642 minAudioEpisode 106
ShareXLinkedInFacebookWhatsAppEmail

Nearly 100 episodes after "Why Testing Sucks," Jeff and Luca revisit testing strategy with fresh perspectives. The conversation centers on Guillermo Rauch's advice: "Write tests, not too many, mostly integration." We explore what this means, whether the traditional testing pyramid holds up, and what counts as "unit" versus "integration" tests - terms used loosely in practice. Jeff and Luca discuss when to write and remove tests, and structuring them to tell clear stories. We cover Test-Driven Development and when it helps versus hinders during prototyping. A major theme is how LLMs are changing testing. They ease refactoring and creating infrastructure like embedded simulators, but generate bloated suites full of mocks that may not give needed confidence. We emphasize keeping LLMs on a tight leash. The episode covers requirements management, traceability, and how tooling encourages early test creation. The focus is practical heuristics: What are you worried about? What gives confidence? What story do your tests tell? Key Topics [00:00] Revisiting "testing sucks" 93 episodes later with focus on higher-level strategy [01:48] "Write tests, not too many, mostly integration" and the testing pyramid [06:17] Defining unit versus integration tests and loose term usage [09:39] Structuring tests with given-when-then and arrange-act-assert [13:12] Building complex systems from simple, well-tested units [14:29] How LLMs affect refactoring-brittleness tradeoff and test maintenance [16:29] Removing tests during and after development, treating them like scaffolding [21:57] When to write unit, integration, and end-to-end tests in development [29:24] Linking requirements to test cases with tooling for early creation [32:04] Writing tests that tell a story and protect what matters [33:56] Using LLMs to generate embedded simulators and reduce activation energy [36:46] Maintenance burden of LLM-generated tests and keeping AI on a tight leash [40:17] Final thoughts on testing philosophy and connecting with hosts online Notable Quotes "The best testing heuristic you can use is, what am I actually worried about? Like, what do I need to guard against?" - Luca Ingianni "Any complex working system was evolved from a simple working system. You need to start with Blinky of the LED and then add... you build it up from those simple beginnings." - Jeff Gable "Not writing tests because you have considered them and you've considered them a waste of time is very distinct from not writing tests because you're in a hurry. That is a very dangerous trap to fall into." - Luca Ingianni Resources Mentioned Episode 11: Why Testing Sucks - Original episode where Jeff and Luca first discussed testing philosophy Episode 76 with Steve Branham on BDD - Discussion on BDD and test structure with given-when-then patterns Guillermo Rauch's Testing Quote - "Write tests, not too many, mostly integration" - quote sparking this episode Base Ref - Jeff's requirements and test management tool for medical devices Luca Ingianni's Website - Luca's training website and podcast Agile Embedded Podcast Slack - Community channel to reach hosts and connect with listeners Jeff runs BaseRef, a Requirements Management and Documentation tool for medical device startups, at https://getbaseref.com. You can find Luca at https://luca.engineer. Want to join the Pragmatic Embedded Slack? Click here Are you looking for embedded-focused trainings? Head to https://agileembedded.academy/ Ryan Torvik and Luca have started the Embedded AI podcast, check it out at https://embeddedaipodcast.com/

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. Testing Embedded Systems in the Cloud and On-Prem with Marie Meyer and Joel Schulz-Andres

    Oct 13, 202646 minAudio

    Most embedded teams run unit tests on the host and integration tests on real hardware (possibly manually), with very little in between. Marie Meyer and Joel Schulz-Andres founded OnMCU to fill that gap, and we talk with...

    Credit the people on this episode

  2. TDD: The Hard Parts - Getting Started with Test-Driven Development

    Sep 30, 202646 minAudio

    We're back talking about Test-Driven Development, just 10 episodes after our last TDD discussion. This time, Jeff and Luca tackle the practical challenges that trip up developers trying to adopt TDD - especially that...

    Credit the people on this episode

  3. The Big Rename: From Agile to Pragmatic

    Sep 23, 202617 minAudio

    After five years and 101 episodes, we're doing something we never thought we'd do: renaming the podcast. The Agile Embedded Podcast is now the Pragmatic Embedded Podcast: having the title reflect where we've been...

    Credit the people on this episode

  4. 100 Episodes! Break Out the Champagne! A Retrospective

    Aug 24, 202659 minAudio

    We flip the script for episode 100! Instead of hosting, Luca and Jeff become the guests as Joe Schneider and Jacob Beningo take over the interview chair. We look back at how two consultants from opposite sides of the...

    Credit the people on this episode

  5. From Vision to Reality: Product Roadmaps in Embedded Development

    Aug 4, 202643 minAudio

    In the third installment of our requirements engineering series, Luca and Jeff shift focus from requirements themselves to the bigger picture: how do you actually turn ideas into working products? We explore the journey...

    Credit the people on this episode