
Sign up to save your podcasts
Or


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.
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.
Special Guest: Paul Everitt.
Links:
xfail isn't just for pytest tests. Python's unittest has @unittest.expectedFailure.
In this episode, we cover:
Docs for expectedFailure:
https://docs.python.org/3/library/unittest.html#skipping-tests-and-expected-failures
Some sample code.
unittest only:
unittest with pytest markers:
import unittestA discussion of how to use the xfail feature of pytest to help with communication on software projects.
The episode covers:
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:
Flags to control pytest output:
Flags to start a command-line debugger:
This list is also found in Chapter 13 of Python Testing with pytest, 2nd edition.
The chapter is "Debugging Test Failures" and covers way more than just debug flags, while walking through debugging 2 test failures.
Links:
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.
The way pip installs from a local directory is about to change, and the story is fascinating.
Special Guest: Stéphane Bidoul.
Links:
What flavor of TDD do you practice?
In this episode we talk about:
This is definitely an episode I'd like feedback on. Reach out to me for further questions or if I missed some crucial variant of TDD that you know and love.
Links:
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.
Lean manufacturing and lean software development caused people to talk about and examine waste and value, even in fields where we didn't really think about waste that much to begin with.
Software is just ones and zeros. Is there waste?
When I delete a file, nothing goes into the landfill.
The mistake I'm making here is confusing the common English definition of waste when what we're talking about is the Lean definition of waste.
This episode tries to clear up the confusion.
Links:
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.
Links:
When learning data science and machine learning techniques, you need to work on a data set.
Matt Harrison had a great idea: Why not use your own Twitter analytics data?
So, he did that with his own data, and shares what he learned in this episode, including some of his secrets to gaining followers.
In this episode we talk about:
Links:
From the publisher's feed

43,853 Listeners

623 Listeners

327 Listeners

582 Listeners

213 Listeners

8,059 Listeners

139 Listeners

2,313 Listeners

5 Listeners