ACERCA DE ESTE EPISODIO
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.
Topics
- 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
Links:
- 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
Inglés
Estados Unidos
EN ESTE EPISODIO
TRANSCRIPCIÓN 🔗
Are you the producer of this podcast?
Add a podcast transcript
Need Audio-to-Text?
Transcribe with Listen411 in Just 60 Seconds
BUSCAR EPISODIOS ANTERIORES
Buscar episodios anteriores de Test & Code.
OTROS EPISODIOS EN ESTE PODCAST
Markdown reports as either text or markdown tables.Two fun plugins discussed.
Links:
pytest-md-report
pytest-md
Top pytest Plugins
Help support the show AND learn pytest:
The Complete pytest course is now a bundle, with each part available separately.
pytest Primary Power teaches the super pow…
pytest-repeat is a pytest plugin that makes it easy to repeat a single test, or multiple tests, a specific number of times.
Note: This was an April Fools attempt, so the statement ..."Unfortunately, it doesn't seem to work with Python 3.14, even though there is no rational reason why it shouldn't…
pytest-html has got to be one of my all time favorite plugins. pytest-html is a plugin for pytest that generates a HTML report for test results. This episode digs into some of the super coolness of pytest-html.
pytest-html
repo readme with screenshot
enhancing reports
pytest-metadata
Help support…
pytest-mock is currently the #3 pytest plugin. pytest-mock is a wrapper around unittest.mock.
In this episode:
Why the pytest-mock plugin is awesome
What is mocking, patching, and monkey patching
What, if any, is the difference between mock, fake, spy, stub.
Why we might need these in testing
Som…
This episode is a replay of a 2021 interview I did with Michael Foord.We lost Michael in January, and I'd like to revisit this interview as a tribute.
Michael Foord was a pivotal figure in the Python community and the creator of the mock library that's now unittest.mock. But he did so much more as…
Descargo de responsabilidad: El podcast y el arte incluidos en esta página son de Brian Okken, que es propiedad de su propietario y no está afiliado ni respaldado por Listen Notes, Inc.
EDITAR
Gracias por ayudar a mantener actualizada la base de datos de podcasts.