Test & Code :  Python Testing for Software Engineering

Test & Code is a weekly podcast hosted by Brian Okken. The show covers a wide array of topics including software engineering, development, testing, Python programming, and many related topics. When we get into the implementation specifics, that's usually Python, such as Python packaging, tox, pytest, and unittest. However, well over half of the topics are language agnostic, such as data science, DevOps, TDD, public speaking, mentoring, feature testing, NoSQL databases, end to end testing, automation, continuous integration, development methods, Selenium, the testing pyramid, and DevOps.



episode 102: Cosmic Python (Architecture Patterns with Python) - Harry Percival

Harry Percival has completed his second book, "Architecture Patterns with Python".
So of course we talk about the book, also known as "Cosmic Python".
We also discuss lots of testing topics, especially related to larger systems and systems involving third party interfaces and APIs.


  • Harry's new book, "Architecture Patterns with Python". a.k.a. Cosmic Python
  • TDD : Test Driven Development
  • Test Pyramid
  • Tradeoffs of different architectural choices
  • Mocks and their pitfalls
  • Avoiding mocks
  • Separating conceptual business logic
  • Dependency injection
  • Dependency inversion
  • Identifying external dependencies
  • Interface adapters to mimize the exposed surface area of external dependencies
  • London School vs Classic/Detroit School of TDD
  • Testing strategies for testing external REST APIs

Special Guest: Harry Percival.

Sponsored By:

  • Oxylabs: Visit oxylabs.io/testandcode to find out more about their services and to apply for a free trial of their Next-Generation Residential Proxies.

Support Test & Code: Python Software Testing & Engineering


  • Cosmic Python - Simple Patterns for Building Complex Applications
  • Architecture Patterns with Python - on Amazon
  • Harry Percival (@hjwp) / Twitter
  • Bob Gregory (@bob_the_mighty) / Twitter
  • vcrpy ¬∑ PyPI
  • Writing tests for external API calls
  • Stop Using Mocks (for a while) - Harry's PyCon talk


 2020-02-27  41m