Python Test

Practical automated testing for software engineers using Python. Mostly. But also so much more.

https://podcast.pythontest.com

Eine durchschnittliche Folge dieses Podcasts dauert 32m. Bisher sind 221 Folge(n) erschienen. Dieser Podcast erscheint alle 9 Tage.

Gesamtlänge aller Episoden: 4 days 23 hours 47 minutes

subscribe
share






recommended podcasts


episode 169: Service and Microservice Performance Monitoring - Omri Sass


Performance monitoring and error detection is just as important with services and microservices as with any system, but with added complexity. Omri Sass joins the show to explain telemetry and monitoring of services and of systems with services. 

Full Transcript

Special Guest: Omri Sass.



share








 November 11, 2021  30m
 
 

episode 168: Understanding Complex Code by Refactoring into Larger Functions


To understand complex code, it can be helpful to remove abstractions, even if it results in larger functions. This episode walks through a process I use to refactor code that I need to debug and fix, but don't completely understand.

Full Transcript



share








 November 2, 2021  11m
 
 

episode 167: React, TypeScript, and the Joy of Testing - Paul Everitt


Paul has a tutorial on testing and TDD with React and TypeScript. 
 We discuss workflow and the differences, similarities between testing with React/TypeScript and Python.
 We also discuss what lessons that we can bring from front end testing to Python testing.

Full Transcript

Special Guest: Paul Everitt.


Links:

  • React, TypeScript, and TDD — Paul Everitt's tutorial
  • React Testing Library


share








 October 22, 2021  36m
 
 

episode 166: unittest expectedFailure and xfail


xfail isn't just for pytest tests. Python's unittest has @unittest.expectedFailure.

In this episode, we cover:

  • using @unittest.expectedFailure
  • the results of passing and failing tests with expectedFailure
  • using pytest as a test runner for unittest
  • using pytest markers on unittest tests

Docs for expectedFailure:
 https://docs.python.org/3/library/unittest.html#skipping-tests-and-expected-failures

Some sample code...


share








 October 14, 2021  6m
 
 

episode 165: pytest xfail policy and workflow


A discussion of how to use the xfail feature of pytest to help with communication on software projects...


share








 October 8, 2021  9m
 
 

episode 164: Debugging Python Test Failures with pytest


An overview of the pytest flags that help with debugging.
 From Chapter 13, Debugging Test Failures, of Python Testing with pytest, 2nd edition.

pytest includes quite a few command-line flags that are useful for debugging. 

We talk about thes flags in this episode.

Flags for selecting which tests to run, in which order, and when to stop:

  • -lf / --last-failed: Runs just the tests that failed last...


share








 September 14, 2021  13m
 
 

episode 163: pip install ./local_directory - Stéphane Bidoul


pip : "pip installs packages" or maybe "Package Installer for Python"
 pip is an invaluable tool when developing with Python.
 A lot of people know pip as a way to install third party packages from pypi.org
 You can also use pip to install from other indexes (or is it indices?)

You can also use pip to install a package in a local directory.
 That's the part I want to jump in and explore with Stéphane Bidoul...


share








 August 20, 2021  29m
 
 

episode 162: 162: Flavors of TDD


What flavor of TDD do you practice?

In this episode we talk about:

  • Classical vs Mockist TDD
  • Detroit vs London (I actually refer to it in the episode as Chicago instead of Detroit. Oh well.)
  • Static vs Behavior
  • Inside Out vs Outside In
  • Double Loop TDD
  • BDD
  • FDD
  • Tracer Bullets
  • Rules of TDD
  • Team Structure
  • Lean TDD

This is definitely an episode I'd like feedback on...


share








 August 3, 2021  22m
 
 

episode 161: 161: Waste in Software Development


Software development processes create value, and have waste, in the Lean sense of the word waste.
Lean manufacturing and lean software development changed the way we look at value and waste.
This episode looks at lean definitions of waste, so we can see it clearly when we encounter it.

I'm going to use the term waste and value in future episodes. I'm using waste in a Lean sense, so we can look at software processes critically, see the value chain, and try to reduce waste...


share








 July 20, 2021  18m
 
 

episode 160: 160: DRY, WET, DAMP, AHA, and removing duplication from production code and test code


Should your code be DRY or DAMP or something completely different?
How about your test code? Do different rules apply?
Wait, what do all of these acronyms mean?

We'll get to all of these definitions, and then talk about how it applies to both production code and test code in this episode.

Full Transcript

Sponsored By:

  • Datadog: Modern end-to-end monitoring & security. See inside any stack, any app, at any scale, anywhere...


share








 July 8, 2021  14m