Podcast Lookup

Modular Testing

Code & Optimism

  • August 10, 2024
  • 27 min
  • Season 1, episode 38
Episode page

About this episode

Why You Should Stop Doing Unit and Integration Testing - Embrace Modular Testing Instead!


In this episode, I challenge conventional testing methods and present a new approach—modular testing. I argue against traditional unit, integration, and system end-to-end testing, highlighting their inefficiencies and complexities. Instead, I introduce modular testing, where the focus is on testing only the external API of a module. This method aligns with good modular design principles and significantly reduces test maintenance effort. By testing just the API, the process becomes simpler, more agile, and scalable. I provide insights into the five essential elements of modular design and discuss how modular testing can enhance overall software quality while keeping testing efforts manageable.


  • 00:00 Introduction to Automated Testing
  • 01:03 Standard Testing - A Review
  • 01:43 Unit Testing
  • 03:06 Integration Testing
  • 04:57 System Testing
  • 06:59 Modular Testing
  • 08:25 Modular Design Recap
  • 12:11 Benefits of Modular Testing
  • 16:30 Modular Testing IS Unit Testing, but better...
  • 18:40 Modular Testing IS Integration Testing, but better...
  • 22:46 System Testing? It's Modules All the Way Down...
  • 24:23 Conclusion and Final Thoughts
  • 25:48 Outro


Related C&O Episodes:


Hosted on Acast. See acast.com/privacy for more information.