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

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

Sep 30, 202646 minAudioEpisode 104
ShareXLinkedInFacebookWhatsAppEmail

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 awkward moment staring at a blank screen wondering "what do I even type first?" Drawing from Luca's experience training embedded developers, we explore why TDD feels so unnatural at first and how to actually get started. We break down the process: from sketching test ideas as bullet points, to writing test outlines in plain English, to finally implementing actual test code. Along the way, we discuss how LLMs change the game - both helping overcome the fear of the empty screen and creating new traps when they generate overwhelming amounts of test code. Whether you're coding by hand or working with AI assistants, the key is maintaining control through deliberate, incremental steps and keeping your focus on module interfaces and test quality over implementation details. Key Topics [02:30] The common struggle: Why developers abandon TDD after trying it once [05:15] TDD is not a design methodology - it comes after decomposition [08:45] The mental leap: Calling functions that don't exist yet [12:00] Starting with test ideas as bullet points, not full test implementations [18:30] Two traps: Coding by hand (fear of empty screen) vs. using LLMs (overwhelming output) [25:00] Turning test statements into questions for effective coding spikes [32:15] Review test code more thoroughly than production code when using LLMs [36:00] Connecting TDD to higher-level specs and requirements Notable Quotes "TDD is really just a Jedi mind trick of thinking about your tasks in a different way that makes it easier for you to come to good answers." - Luca Ingianni "TDD is not how you build the map. It's how you have confidence in a quality implementation and protection against future regressions." - Jeff Gable "I've gotten into the habit of reviewing my test code more thoroughly than the actual production code when using LLMs. Because the test code really tells me the shape of the production code." - Luca Ingianni Resources Mentioned Luca Ingianni's website - Link site with information about Luca's trainings, coaching, and contact details BaseRef - Requirements, test, and documentation management tool for medical device startups founded by Jeff Episode 92 - Previous TDD episode discussing test-driven development in the age of AI Jacob Beningo's work - Resources on writing simulators and making business logic data-driven rather than hardware-driven Agile Embedded Podcast Slack - Community discussion channel where you can reach the hosts and connect with other 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. Why Testing Sucks, Revisited

    Nov 18, 202642 minAudio

    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...

    Credit the people on this episode

  2. 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

  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