Test and Code
03h30 31  mars
149: I don’t test my code, crappy Python is all I write - Corey Quinn
Corey Quinn is the Chief Cloud Economist at The Duckbill Group. He’s also a podcaster and writes a newsletter. And he also automates things with Python. But he doesn’t write tests. Let’s find out why. Reason for the interview. Rough summary of a twitter conversation: Corey: What podcasts should I...
08h00 12  mars
148: Coverage.py and testing packages
How do you test installed packages using coverage.py? Also, a couple followups from last week’s episode on using coverage for single file applications.
02h00 06  mars
147: Testing Single File Python Applications Scripts with pytest and coverage
Have you ever written a single file Python application or script? Have you written tests for it? Do you check code coverage? This is the topic of this weeks episode, spurred on by a listener question. The questions: For single file scripts, I’d like to have the test code included right there in...
23h00 28  février
146: Automation Tools for Web App and API Development and Maintenance - Michael Kennedy
Building any software, including web apps and APIs requires testing. There’s automated testing, and there’s manual testing. In between that is exploratory testing aided by automation tools. Michael Kennedy joins the show this week to share some of the tools he uses during development and...
08h15 18  février
145: For Those About to Mock - Michael Foord
A discussion about mocking in Python with the original contributor of unittest.mock, Michael Foord. Of course we discuss mocking and unittest.mock. We also discuss: testing philosophy unit testing and what a unit is TDD where Michael’s towel is, and what color Micheal was instrumental in...
06h15 13  février
144: TDD in Science - Martin Héroux
Test Driven Development, TDD, is not easy to incorporate in your daily development. Martin and Brian discuss TDD and testing and Martin’s experience with testing, TDD, and using it for code involved with scientific research. We discuss lots of topics around this, including: What is TDD? Should...
08h00 07  février
143: pytest markers - Anthony Sottile
Completely nerding out about pytest markers with Anthony Sottile. Some of what we talk about: Running a subset of tests with markers. Using marker expressions with and, or, not, and parentheses. Keyword expressions also can use and, or, not, and parentheses. Markers and pytest functionality that...
17h30 25  janvier
142: MongoDB - Mark Smith
MongoDB is possibly the most recognizable NoSQL document database. Mark Smith, a developer advocate for MongoDB, answers my many questions about MongoDB. We cover some basics, but also discuss some advanced features that I never knew about before this conversation. Special Guest: Mark Smith.
19h45 30  décembre
141: Visual Testing - Angie Jones
Visual Testing has come a long way from the early days of x,y mouse clicks and pixel comparisons. Angie Jones joins the show to discuss how modern visual testing tools work and how to incorporate visual testing into a complete testing strategy. Some of the discussion: Classes of visual testing...
19h45 18  décembre
140: Testing in Scientific Research and Academia - Martin Héroux
Scientists learn programming as they need it. Some of them learn it in college, but even if they do, that’s not their focus. It’s not surprising that sharing the software used for scientific research and papers is spotty, at best. And what about testing? We’d hope that the software behind...
20h30 04  décembre
139: Test Automation: Shifting Testing Throughout the Software Lifecycle - Nalin Parbhu
Talking with Nalin Parbhu about the software evolution towards more test automation and the creation of Infuse and useMango. We talk a software development and shift left where automated tests and quality checks have moved earlier into the software lifecycle. Software approaches and where...
21h15 19  novembre
138: Mutation Testing in Python with mutmut - Anders Hovmöller
Your test suite tells you about the quality of your code under test. Mutation testing is a way to tell you about the quality of your test suite. Anders Hovmöller wrote mutmut (https: mutmut.readthedocs.io ) for mutation testing in Python, and can be used with pytest, unittest, and others. In...
16h00 05  novembre
137: Become an Author - Matt Harrison interviews Brian Okken
Matt Harrison, author of many Python books, is putting together a course, Effective Book Authoring, to help other people write and publish books. As part of this course, he’s including interviews with people who have already written books, including me. This is that interview. We discuss: Why I...
14h15 26  octobre
136: Wearable Technology - Sophy Wong
Wearable technology is not just smart consumer devices like watches and activity trackers. Wearable tech also includes one off projects by designers, makers, and hackers and there are more and more people producing tutorials on how to get started. Wearable tech is also a great way to get both kids...
15h15 20  octobre
135: Speeding up Django Test Suites - Adam Johnson
All test suites start fast. But as you grow your set of tests, each test adds a little bit of time to the suite. What can you do about it to keep test suites fast? Some things, like parallelization, are applicable to many domains. What about, for instance, Django applications? Well, Adam Johnson...
16h15 12  octobre
134: Business Outcomes and Software Development - Benjamin Harding
Within software projects, there are lots of metrics we could measure. But which ones really matter. Instead of a list, Benjamin Harding shares with us a way of thinking about business outcomes that can help us with every day decision making. We talk about: Business outcomes vs vanity metrics ...
17h00 05  octobre
133: Major League Hacking - Jon Gottfried
Hackathons have been spreading around the world; many at university campuses. Major League Hacking, MLH, has been encouraging and helping hackathons. Hacking can be thought of as tinkering. Taking things apart and putting them back together as an interesting experience. There’s always been some of...
14h00 28  septembre
132: mocking in Python - Anna-Lena Popkes
Using mock objects during testing in Python. Anna-Lena joins the podcast to teach us about mocks and using unittest.mock objects during testing. We discuss: - the different styles of using mocks - pros and cons of mocks - dependency injection - adapter pattern - mock hell - magical universe - and...
12h45 21  septembre
131: Test Smarter, Not Harder
Some people avoid writing tests. Some drudge through it painfully. There is a better way. In this episode, I’m going to share some advice from Luke Plant on how to Test Smarter, Not Harder (https: lukeplant.me.uk blog posts test-smarter-not-harder ).
16h30 13  septembre
130: virtualenv activation prompt consistency across shells - an open source dev and test adventure - Brian Skinn
virtualenv supports six shells: bash, csh, fish, xonsh, cmd, posh. Each handles prompts slightly differently. Although the virtualenv custom prompt behavior should be the same across shells, Brian Skinn noticed inconsistencies. He set out to fix those inconsistencies. That was the start of an...
18h00 07  septembre
129: How to Test Anything - David Lord
I asked people on twitter to fill in How do I test ? to find out what people want to know how to test. Lots of responses. David Lord agreed to answer them with me. In the process, we come up with lots of great general advice on how to test just about anything. Specific Questions people...
17h15 28  août
128: pytest-randomly - Adam Johnson
Software tests should be order independent. That means you should be able to run them in any order or run them in isolation and get the same result. However, system state often gets in the way and order dependence can creep into a test suite. One way to fight against order dependence is to...
07h45 24  août
127: WFH, WTF? - Tips and Tricks for Working From Home - Reuven Lerner & Julian Sequeira
Many people have been working from home now that are not used to working from home. Or at least are working from home more than they ever did before. That’s definitely true for me. Even though I’ve been working from home since March, I wanted some tips from people who have been doing it longer....
00h15 17  août
126: Data Science and Software Engineering Practices ( and Fizz Buzz ) - Joel Grus
Researches and others using data science and software need to follow solid software engineering practices. This is a message that Joel Grus has been promoting for some time. Joel joins the show this week to talk about data science, software engineering, and even Fizz Buzz. Topics include: Software...
19h00 07  août
125: pytest 6 - Anthony Sottile
pytest 6 is out. Specifically, 6.0.1, as of July 31. And there’s lots to be excited about. Anthony Sottile joins the show to discuss features, improvements, documentation updates and more. Full release notes changelog (https: docs.pytest.org en stable changelog.html) Some of what we talk...
07h00 03  août
124: pip dependency resolver changes
pip is the package installer for Python. Often, when you run pip, especially the first time in a new virtual environment, you will see something like: WARNING: You are using pip version 20.1.1; however, version 20.2 is available. You should consider upgrading via the ’python -m pip install -...
20h45 24  juillet
123: GitHub Actions - Tania Allard
Lots of Python projects are starting to use GitHub Actions for Continous Integration & Deployment (CI CD), as well as other workflows. Tania Allard, a Senior Cloud Developer Advocate at Microsoft, joins the show to answer some of my questions regarding setting up a Python project to use Actions...
19h00 16  juillet
122: Better Resumes for Software Engineers - Randall Kanna
A great resume is key to landing a great software job. There’s no surprise there. But so many people make mistakes on their resume that can very easily be fixed. Randall Kanna is on the show today to help us understand how to improve our resumes, and in turn, help us have better careers. Special...
05h45 10  juillet
121: Industrial 3D Printing & Python, Finite State Machines, and Simulating Hardware - Len Wanger
Len Wanger works on industrial 3D printers. And I was pleased to find out that there’s a bunch of Python in those printers as well. In this episode we talk about: 3D printers What are the different types of 3D printers? Where are 3D printed industrial parts being used? Why use one type of additive...
07h00 03  juillet
120: FastAPI & Typer - Sebastián Ramà rez
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints. Typer is a library for building CLI applications, also based on Python type hints. Type hints and many other details are intended to make it easier to develop, test, and...
07h00 26  juin
119: Editable Python Installs, Packaging Standardization, and pyproject.toml - Brett Cannon
There’s stuff going on in Python packaging and pyproject.toml. Brett and I talk about some upcoming work on Python packaging, such as: editable installs the need for standardization configuration of other tools in pyproject.toml And then get off on tangents and talk about: why it’s good to have...
00h00
118: Code Coverage and 100% Coverage
Code Coverage or Test Coverage is a way to measure what lines of code and branches in your code that are utilized during testing. Coverage tools are an important part of software engineering. But there’s also lots of different opinions about using it. - Should you try for 100% coverage? - What...
07h30 18  juin
117: Python extension for VS Code - Brett Cannon
The Python extension for VS Code is most downloaded extension for VS Code. Brett Cannon is the manager for the distributed development team of the Python extension for VS Code. In this episode, Brett and I discuss the Python extension and VS Code, including: pytest support virtual environment...
06h00 08  juin
116: 15 amazing pytest plugins - Michael Kennedy
pytest plugins are an amazing way to supercharge your test suites, leveraging great solutions from people solving test problems all over the world. In this episode Michael and I discuss 15 favorite plugins that you should know about. We also discuss fixtures and plugins and other testing tools that...
23h15 30  mai
115: Catching up with Nina Zakharenko
One of the great things about attending in person coding conferences, such as PyCon, is the hallway track, where you can catch up with people you haven’t seen for possibly a year, or maybe even the first time you’ve met in person. Nina is starting something like the hallway track, online, on...
17h00 24  mai
114: The Python Software Foundation (PSF) Board Elections - Ewa Jodlowska Christopher Neugebauer
The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to support and facilitate the growth of a diverse and international community of Python programmers. That’s a lot of responsibility, and to that end, the PSF Board Directors help...
17h00 15  mai
113: Technical Debt - James Smith
Technical debt has to be dealt with on a regular basis to have a healthy product and development team. The impacts of technical debt include emotional drain on engineers and slowing down development and can adversely affect your hiring ability and retention. But really, what is technical debt? Can...
19h15 08  mai
112: Six Principles of Readable Tests - David Seddon
Code is read much more often than it is written. - Guido van Rossum This is true for both production code and test code. When you are trying to understand why a test is failing, you’ll be very grateful to the test author if they’ve taken the care to make it readable. David Seddon came up with 6...
15h30 02  mai
111: Subtests in Python with unittest and pytest - Paul Ganssle
In both unittest and pytest, when a test function hits a failing assert, the test stops and is marked as a failed test. What if you want to keep going, and check more things? There are a few ways. One of them is subtests. Python’s unittest introduced subtests in Python 3.4. pytest introduced...
23h30 25  avril
110: Testing Django - from unittest to pytest - Adam Parkin
Django supports testing out of the box with some cool extensions to unittest. However, many people are using pytest for their Django testing, mostly using the pytest-django plugin. Adam Parkin, who is known online as CodependentCodr (https: twitter.com codependentcodr), joins us to talk about...
22h00 14  avril
109: Testing in Financial Services - Eric Bergemann
Financial services have their own unique testing development challenges. But they also have lots of the same challenges as many other software projects. Eric Bergemann joins Brian Okken to discuss: Specific testing challenges in the financial services domain CI CD : Continuous Integration,...
15h00 09  avril
108: PySpark - Jonathan Rioux
Apache Spark is a unified analytics engine for large-scale data processing. PySpark blends the powerful Spark big data processing engine with the Python programming language to provide a data analysis platform that can scale up for nearly any task. Johnathan Rioux, author of PySpark in Action , ...
15h00 27  mars
107: Property Based Testing in Python with Hypothesis - Alexander Hultnér
Hypothesis is the Python tool used for property based testing. Hypothesis claims to combine human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests. In this episode Alexander Hultnér introduces us...
22h15 20  mars
106: Visual Testing : How IDEs can make software testing easier - Paul Everitt
IDEs can help people with automated testing. In this episode, Paul Everitt and Brian discuss ways IDEs can encourage testing and make it easier for everyone, including beginners. We discuss features that exist and are great, as well as what is missing. The conversation also includes topics around...
07h00 11  mars
105: TAP: Test Anything Protocol - Matt Layman
The Test Anything Protocol, or TAP, is a way to record test results in a language agnostic way, predates XML by about 10 years, and is still alive and kicking. Matt Layman has contributed to Python in many ways, including his educational newsletter, and his Django podcast, Django Riffs. Matt is...
08h45 04  mars
104: Top 28 pytest plugins - Anthony Sottile
pytest is awesome by itself. pytest plugins is even better. In this episode, Anthony Sottile and Brian Okken discuss the top 28 pytest plugins. Some of the plugins discussed (we also mention a few plugins related to some on this list): pytest-cov pytest-timeout pytest-xdist pytest-mock ...
00h30 01  mars
103: Django - Lacey Williams Henschel
Django is without a doubt one of the most used web frameworks for Python. Lacey Williams Henschel is a Django consultant and has joined me to talk about Django, the Django community, and so much more. Topics: Django The Django Community Django Girls Django Girls Tutorial DjangoCon ...
09h00 27  février
102: Cosmic Python, TDD, testing and external dependencies - 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. Topics Harry’s...
08h00 19  février
101: Application Security - Anthony Shaw
Application security is best designed into a system from the start. Anthony Shaw is doing something about it by creating an editor plugin that actually helps you write more secure application code while you are coding. On today’s Test & Code, Anthony and I discuss his security plugin, but also...
08h30 13  février
100: A B Testing - Leemay Nassery
Let’s say you have a web application and you want to make some changes to improve it. You may want to A B test it first to make sure you are really improving things. But really what is A B testing? That’s what we’ll find out on this episode with Leemay Nassery. Special Guest: Leemay Nassery.