
Test & Code (Brian Okken)
Explorez tous les épisodes de Test & Code
Date | Titre | Durée | |
---|---|---|---|
18 Jun 2020 | 117: Python extension for VS Code - Brett Cannon | 00:51:18 | |
The Python extension for VS Code is most downloaded extension for VS Code. In this episode, Brett and I discuss the Python extension and VS Code, including:
Special Guest: Brett Cannon. Sponsored By:
Links: | |||
09 Feb 2022 | Exploratory Testing | 00:10:09 | |
Exploratory testing is absolutely an essential part of a testing strategy. | |||
18 Jan 2022 | SaaS Side Projects | 00:26:09 | |
The idea of having a software as a service product sound great, doesn't it? Solve a problem with software. Have a nice looking landing page and website. Get paying customers. Eventually have it make enough revenue so you can turn it into your primary source of income. There's a lot of software talent out there. We could solve lots of problems. Brandon Braner is building Released.sh. It's a cool idea, but it's not done yet. Brandon and I talk about building side projects:
Special Guest: Brandon Braner. Links: | |||
28 Sep 2020 | 132: mocking in Python - Anna-Lena Popkes | 00:40:50 | |
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:
Special Guest: Anna-Lena Popkes. Sponsored By:
Links:
| |||
24 May 2020 | 114: The Python Software Foundation (PSF) Board Elections - Ewa Jodlowska / Christopher Neugebauer | 00:30:46 | |
"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 out quite a bit. If you want to be a part of the board, you can. There's an election coming up right around the corner and you gotta get your nomination in by May 31. You can also join the PSF if you want to vote for who gets to be part of the board. But what does it really mean to be on the Board, and what are some of the things the PSF does? To help answer those questions, I've got Ewa Jodlowska, the PSF Executive Director, and Christopher Neugebauer, a current board member, on the show today. I've also got some great links in the show notes if we don't answer your questions and you want to find out more. Special Guests: Christopher Neugebauer and Ewa Jodlowska. Sponsored By:
Links: | |||
22 Oct 2021 | React, TypeScript, and the Joy of Testing - Paul Everitt | 00:36:53 | |
Paul has a tutorial on testing and TDD with React and TypeScript. Special Guest: Paul Everitt. Links:
| |||
03 Oct 2017 | 32: David Hussman - Agile vs Agility, Dude's Law, and more | 00:47:28 | |
A wonderful discussion with David Hussman. David and Brian look back at what all we've learned in XP, TDD, and other Agile methodologies, where things have gone awry, how to bring the value back, and where testing fits into all of this.
Special Guest: David Hussman. Sponsored By:
Links: | |||
20 Oct 2019 | 92: 9 Steps to Crater Quality & Destroy Customer Satisfaction - Cristian Medina | 00:35:06 | |
Cristian Medina wrote an article recently called "Test Engineering Anti-Patterns: Destroy Your Customer Satisfaction and Crater Your Quality By Using These 9 Easy Organizational Practices" Of course, it's sarcastic, and aims to highlight many problems with organizational practices that reduce software quality. The article doesn't go out of character, and only promotes the anti-patterns. Here's the list of all the points discussed in the article and in this episode:
Special Guest: Cristian Medina. Sponsored By:
Links:
| |||
13 Feb 2021 | 144: TDD in Science - Martin Héroux | 00:53:51 | |
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:
Special Guest: Martin Héroux. Sponsored By:
Links:
| |||
18 Nov 2019 | 94: The real 11 reasons I don't hire you - Charity Majors | 00:34:26 | |
You've applied for a job, maybe lots of jobs.
If you get the job, and you enjoy the work, awesome, congratulations. If you don't get the job, it'd be really great to know why. Sometimes it isn't because you aren't a skilled engineer. What other reasons are there? Well, that's what we're talking about today. Charity Majors is the cofounder and CTO of Honeycomb.io, and we're going to talk about reasons for not hiring someone. This is a very informative episode both for people who job hunt in the future and for hiring managers and people on the interview team. Special Guest: Charity Majors. Sponsored By:
Links:
| |||
25 May 2023 | 201: Avoid merge conflicts on your CHANGELOG with scriv - Ned Batchelder | 00:33:41 | |
Last week we talked about the importance of keeping a changelog. Scriv "is a command-line tool for helping developers maintain useful changelogs. It manages a directory of changelog fragments. It aggregates them into entries in a CHANGELOG file." Links: Learn pytest
| |||
07 Oct 2021 | pytest xfail policy and workflow | 00:09:45 | |
A discussion of how to use the xfail feature of pytest to help with communication on software projects. The episode covers:
| |||
15 May 2020 | 113: Technical Debt - James Smith | 00:30:03 | |
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 we measure it? How do we reduce it, and when? James Smith, the CEO of Bugsnag, joins the show to talk about technical debt and all of these questions. Special Guest: James Smith. Sponsored By: | |||
17 Aug 2020 | 126: Data Science and Software Engineering Practices ( and Fizz Buzz ) - Joel Grus | 00:32:18 | |
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:
Special Guest: Joel Grus. Sponsored By:
Links: | |||
30 Aug 2022 | The Good Research Code Handbook - Patrick Mineault | 00:42:39 | |
I don't think it's too much of a stretch to say that software is part of most scientific research now. But how good is that software? How much of common best practices in software development are making it to those writing software in the sciences? Patrick Mineault has written "The Good Research Code Handbook". Special Guest: Patrick Mineault. Links: | |||
11 Apr 2024 | 217: Podcasting / SaaS / Work Life Balance - Justin Jackson | 00:56:07 | |
If you've ever thought about starting a podcast or a SaaS project, you'll want to listen to this episode. Topics:
BTW. This episode was recorded last summer before I switched to transistor.fm. Links from the show:
Learn pytest
| |||
25 Nov 2018 | 54: Python 1994 - Paul Everitt | 00:29:25 | |
Paul talks about the beginning years of Python. Special Guest: Paul Everitt. Sponsored By: Links: | |||
03 Aug 2021 | 162: Flavors of TDD | 00:22:45 | |
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 @brianokken or via the contact form for further questions or if I missed some crucial variant of TDD that you know and love. Sponsored By:
Links:
| |||
18 Nov 2021 | pytest for Data Science and Machine Learning - Prayson Daniel | 00:45:13 | |
Prayson Daniel, a principle data scientist, discusses testing machine learning pipelines with pytest. Prayson is using pytest for some pretty cool stuff, including:
All with pytest. So cool. Special Guest: Prayson Daniel. Links:
| |||
20 Mar 2020 | 106: Visual Testing : How IDEs can make software testing easier - Paul Everitt | 00:49:59 | |
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 being welcoming to new contributors for both open source and professional projects. We talk about a lot of topics, and it's a lot of fun. But it's also important. Because IDEs can make testing Some topics discussed:
Special Guest: Paul Everitt. Links: | |||
26 Jun 2020 | 119: Editable Python Installs, Packaging Standardization, and pyproject.toml - Brett Cannon | 00:36:07 | |
There's stuff going on in Python packaging and pyproject.toml. Brett and I talk about some upcoming work on Python packaging, such as:
And then get off on tangents and talk about:
Special Guest: Brett Cannon. Sponsored By:
Links:
| |||
21 Dec 2018 | Genesynth, nox, urllib3, & PyCascades - Thea Flowers | 00:31:06 | |
Thea Flowers is a Pythonista and open source advocate. She helps empower developers of all backgrounds and experience levels using Python and open source software and hardware. Thea is the creator of Nox, the co-chair of PyCascades 2019, the lead maintainer of urllib3, and a member of the Python Packaging Authority and Packaging Working Group. Thea works on Google Cloud Platform's wonderful Developer Relations team where she works on API client libraries and community outreach. All of that is definitely cool enough. But she is also building a synthesiser based on Sega Genesis chips. So of course, that's where we'll start the conversation. Special Guest: Thea Flowers. Sponsored By: Links: | |||
08 Mar 2018 | 37: What tests to write first | 00:20:56 | |
This episode starts down the path of test strategy with the first tests to write in either a legacy system or a project just getting off it's feet. We cover:
Strategies covered today:
| |||
01 Mar 2022 | Boost Your Django DX - Adam Johnson | 00:26:51 | |
We talk with Adam Johnson about his new book, "Boost Your Django DX". Developer experience includes tools and practices to make developers more effective and efficient, and just plain make software development more fun and satisfying. Links:
| |||
03 Jul 2020 | 120: FastAPI & Typer - Sebastián Ramírez | 00:43:55 | |
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints. The person behind FastAPI and Typer is Sebastián Ramírez. Sebastián is on the show today, and we discuss:
Special Guest: Sebastián Ramírez. Sponsored By:
Links: | |||
27 Feb 2020 | 102: Cosmic Python, TDD, testing and external dependencies - Harry Percival | 00:41:45 | |
Harry Percival has completed his second book, "Architecture Patterns with Python". Topics
Links: | |||
26 Oct 2020 | 136: Wearable Technology - Sophy Wong | 00:31:45 | |
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 and adults excited about coding, electronics, and in general, engineering skills. Sophy Wong is a designer who makes really cool stuff using code, technology, costuming, soldering, and even jewelry techniques to get tech onto the human body. Sophy joins the show to answer my many questions about getting started safely with wearable tech. Some of the questions and topics:
Special Guest: Sophy Wong. Sponsored By:
Links:
| |||
12 May 2022 | Developer and Team Productivity | 00:51:08 | |
Being productive is obviously a good thing. Nick Hodges joins the show to discuss the good and the bad of developer and team productivity, including how we can improve productivity. | |||
12 Jan 2022 | Who Should Do QA? | 00:13:07 | |
Answering these questions are the goals of this episode. Links: | |||
31 Oct 2019 | 93: Software Testing, Book Writing, Teaching, Public Speaking, and PyCarolinas - Andy Knight | 00:30:25 | |
Andy Knight is the Automation Panda. Andy Knight is passionate about software testing, and shares his passion through public speaking, writing on automationpanda.com, teaching as an adjunct professor, and now also through writing a book and organizing a new regional Python conference. Topics of this episode include:
Special Guest: Andy Knight. Sponsored By:
Links: | |||
06 Sep 2019 | 86: Teaching testing best practices with 4 testing maxims - Josh Peak | 00:22:41 | |
You've incorporated software testing into your coding practices and know from experience that it helps you get your stuff done faster with less headache. Awesome. Now your colleagues want in on that super power and want to learn testing. How do you help them? That's where Josh Peak is. He's helping his team add testing to their workflow to boost their productivity. That's what we're talking about today on Test & Code. Josh walks us through 4 maxims of developing software tests that help grow your confidence and proficiency at test writing. Special Guest: Josh Peak. Sponsored By:
Links: | |||
01 Feb 2019 | 63: Python Corporate Training - Matt Harrison | 00:33:35 | |
I hear and I forget. Matt Harrison is an author and instructor of Python and Data Science. This episode focuses on his training company, MetaSnake, and corporate training. Matt's written several books on Python, mostly self published. So of course we talk about that. But the bulk of the conversation is about corporate training, with Brian playing the role of someone considering starting a corporate training role, and asking Matt, an experienced expert in training, how to start and where to go from there. I think you'll learn a lot from this. Special Guest: Matt Harrison. Sponsored By:
Links:
| |||
07 Sep 2020 | 129: How to Test Anything - David Lord | 00:42:09 | |
I asked people on twitter to fill in "How do I test _____?" to find out what people want to know how to test. Specific Questions people asked:
We also talk about:
Some of the resulting testing strategies:
Special Guest: David Lord. Sponsored By: | |||
23 Aug 2023 | 206: TDD in Context | 00:20:13 | |
TDD (Test Driven Development) started from Test First Programming, and has been around at least since the 90's. However, software tools and available CI systems have changed quite a bit since then. This is the start of a series focused on examining TDD and related lightweight practices and processes. Links from the show: Learn pytest
| |||
13 Feb 2020 | 100: A/B Testing - Leemay Nassery | 00:36:31 | |
Let's say you have a web application and you want to make some changes to improve it. But really what is A/B testing? That's what we'll find out on this episode with Leemay Nassery. Special Guest: Leemay Nassery. Sponsored By: | |||
31 Dec 2017 | 34: TDD and Test First | 00:25:01 | |
An in depth discussion of Test Driven Development (TDD) should include a discussion of Test First. So that's where we start.
Sponsored By:
Links:
| |||
18 Jun 2021 | 158: TDD in Swift - Gio | 00:43:21 | |
Iterative processes that include writing test code and production code together, such as TDD, help make coding fun. All of us that care about developing quality code with the help of testing can learn from each other, regardless of programming language. Today we step outside our normal Python comfort zone and talk with Gio about TDD in Swift. Gio Lodi, author of TDD in Swift, joins the show to discuss Test Driven Development, software workflows, bottom up vs top down, rapid feedback, developer vs customer facing tests, and more. Special Guest: Gio Lodi. Sponsored By:
Links: | |||
08 Jun 2020 | 116: 15 amazing pytest plugins - Michael Kennedy | 00:51:28 | |
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 work great with pytest
And then our list of pytest plugins:
That last one isn't a plugin, but we also talked about pytest-splinter at the beginning. So I think it still counts as 15. Special Guest: Michael Kennedy. Sponsored By:
Links:
| |||
11 Mar 2024 | 216: ruff, uv, and Astral: Python tooling, much faster, with Rust | 00:47:46 | |
Charlie Marsh and team are using Rust to make Python tooling faster.
Since uv is the newest tool, there's quite a bit of the discussion diving into uv. Links: Learn pytest
| |||
03 Jun 2021 | 156: Flake8: Python linting framework with Pyflakes, pycodestyle, McCabe, and more - Anthony Sottile | 00:22:55 | |
Flake8 is a command-line tool for linting Python projects. But what does all of that mean? Anthony Sottile is a maintainer of flake8 and has kindly offered to explain it to us. Special Guest: Anthony Sottile. Sponsored By:
Links: | |||
17 Feb 2019 | 65: one assert per test | 00:19:53 | |
Is it ok to have more than one assert statement in a test? Where did this recommendation even come from? What are the reasons? That's what we're going to talk about today. Sponsored By:
Links:
| |||
02 May 2020 | 111: Subtests in Python with unittest and pytest - Paul Ganssle | 00:48:35 | |
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 support for subtests with changes in pytest 4.4 and a plugin, called pytest-subtests. But really, what are they? When could you use them? And more importantly, what should you watch out for if you decide to use them? That's what Paul Ganssle and I will be talking about today. Special Guest: Paul Ganssle. Sponsored By:
Links: | |||
01 Jul 2022 | Running your own site for fun and absolutely no profit whatsoever - Brian Wisti | 00:45:28 | |
Having a personal site is a great playground for learning tons of skills. Brian Wisti discusses the benefits of running a his own blog over the years. Links: | |||
16 Nov 2023 | 209: Testing argparse Applications | 00:15:53 | |
How do you test the argument parsing bit of an application that uses argparse? This episode covers:
Also, there's a full writeup and code samples available:
Learn pytest
| |||
05 Apr 2019 | 71: Memorable Tech Talks, The Ultimate Guide - Nina Zakharenko | 00:48:33 | |
Nina Zakharenko gives some great advice about giving tech talks. Some of what we discuss:
Special Guest: Nina Zakharenko. Sponsored By:
Links:
| |||
11 Jun 2021 | 157: pre-commit - Anthony Sottile | 00:41:41 | |
pre-commit started as a framework for running linters and code formatters during git actions via git hooks. It's grown and expanded and now supports an extensive list of languages and actions and manual running of actions. But even at it's core, it's great for letting computers nitpick about whitespace and formatting, so that code reviews can focus on architecture and design. Anthony Sottile discusses pre-commit, for using locally by developers, and pre-commit.ci, which can run actions during merge requests. "Git hook scripts are useful for identifying simple issues before submission to code review. We run our hooks on every commit to automatically point out issues in code such as missing semicolons, trailing whitespace, and debug statements. By pointing these issues out before code review, this allows a code reviewer to focus on the architecture of a change while not wasting time with trivial style nitpicks." - pre-commit.com "Developers spend a fair chunk of time during their development flow fixing relatively trivial problems in their code. pre-commit.ci both enforces that these issues are discovered, which is opt in for each developer workflow via pre-commit, but also fixes the issues automatically, letting developers focus their time on more valuable problems." - A user of pre-commit.ci Special Guest: Anthony Sottile. Sponsored By:
Links: | |||
21 Jan 2020 | 98: pytest-testmon - selects tests affected by changed files and methods - Tibor Arpas | 00:32:59 | |
pytest-testmon is a pytest plugin which selects and executes only tests you need to run. It does this by collecting dependencies between tests and all executed code (internally using Coverage.py) and comparing the dependencies against changes. testmon updates its database on each test execution, so it works independently of version control. In this episode, I talk with testmon creator Tibor Arpas about testmon, about it's use and how it works. Special Guest: Tibor Arpas. Sponsored By:
Links: | |||
06 Mar 2021 | 147: Testing Single File Python Applications/Scripts with pytest and coverage | 00:11:25 | |
Have you ever written a single file Python application or script? This is the topic of this weeks episode, spurred on by a listener question. The questions:
The example code discussed in the episode: script.py def foo(): return 5 def main(): x = foo() print(x) if __name__ == '__main__': # pragma: no cover main() ## test code # To test: # pip install pytest # pytest script.py # To test with coverage: # put this file (script.py) in a directory by itself, say foo # then from the parent directory of foo: # pip install pytest-cov # pytest --cov=foo foo/script.py # To show missing lines # pytest --cov=foo --cov-report=term-missing foo/script.py def test_foo(): assert foo() == 5 def test_main(capsys): main() captured = capsys.readouterr() assert captured.out == "5\n"Suggestion by @cfbolz if you need to import pytest: if __name__ == '__main__': # pragma: no cover main() else: import pytestSponsored By:
| |||
16 Jul 2020 | 122: Better Resumes for Software Engineers - Randall Kanna | 00:36:13 | |
A great resume is key to landing a great software job. 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 Guest: Randall Kanna. Sponsored By:
Links:
| |||
17 Jul 2023 | 203: Open Source at Intel | 00:43:57 | |
Open Source is important to Intel and has been for a very long time. Joe Curley, vice president and general manager of software products and ecosystem, and Arun Gupta, vice president and general manager for open ecosystems, join the show to discuss open source, OneAPI, and open ecosystems at Intel. Learn pytest
| |||
28 Sep 2019 | 89: Improving Programming Education - Nicholas Tollervey | 00:42:00 | |
Nicholas Tollervey is working toward better ways of teaching programming. His projects include the Mu Editor, PyperCard, and CodeGrades. Many of us talk about problems with software education. Nicholas is doing something about it. Special Guest: Nicholas Tollervey. Sponsored By:
Links:
| |||
30 Nov 2017 | 33: Katharine Jarmul - Testing in Data Science | 00:37:15 | |
A discussion with Katharine Jarmul, aka kjam, about some of the challenges of data science with respect to testing. Some of the topics we discuss:
Special Guest: Katharine Jarmul. Sponsored By:
Links:
| |||
21 May 2021 | 154: Don't Mock your Database - Jeff Triplett | 00:31:40 | |
You need tests for your web app. And it has a database. What do you do with the database during testing? Should you use the real thing? or mock it? Jeff Triplett says don't mock it. In this episode, we talk with Jeff about testing web applications, specifically Django apps, and of course talk about the downsides of database mocking. Special Guest: Jeff Triplett. Sponsored By:
Links: | |||
23 May 2019 | 75: Modern Testing Principles - Alan Page | 00:40:01 | |
Software testing, if done right, is done all the time, throughout the whole life of a software project. This is different than the verification and validation of a classical model of QA teams. It's more of a collaborative model that actually tries to help get great software out the door faster and iterate quicker. One of the people at the forefront of this push is Alan Page. Alan and his podcast cohost Brent Jensen tried to boil down what modern testing looks like in the Modern Testing Principles. I've got Alan here today, to talk about the principles, and also to talk about this transition from classical QA to testing specialists being embedded in software teams and then to software teams doing their own testing. But that only barely scratches the surface of what we cover. I think you'll learn a lot from this discussion. The seven principles of Modern Testing:
Special Guest: Alan Page. Sponsored By:
Links: | |||
27 Jun 2019 | 79: Fixing misinformation about software testing | 00:22:38 | |
Some information about software testing is just wrong. I've ran across a few lateley that I want to address. All of the following are wrong:
This episode discusses why these are wrong. Sponsored By:
Links:
| |||
28 May 2021 | 155: Four Questions to Ask Frequently During Software Projects - Tim Ottinger | 00:22:49 | |
Tim Ottinger has four questions that work great in many situations, from doing homework, to cooking, to writing code, to entire software projects. They are actually awesome questions to ask during a software project. We discuss the questions, where they came from, and look at some uses in software. The questions:
Bonus question that can be swapped out for #1:
Special Guest: Tim Ottinger. Sponsored By:
Links: | |||
29 Mar 2019 | 70: Learning Software without a CS degree - Dane Hillard | 00:30:37 | |
Dane and Brian discuss skills needed for people that become software developers from non-traditional paths. Dane is also writing a book to address many of these skill gaps, Code Like a Pro, that's currently in an early access phase. Use code podtest&code19 to get a discount. And, sign up as a Friend of the Show to enter for a chance to win a free copy of the eBook version. We also discuss the writing process, testing with a multi-language stack, music, art, photography, and more. Special Guest: Dane Hillard. Sponsored By: Links:
| |||
07 May 2021 | 152: Python Packaging - Brett Cannon | 00:49:42 | |
I always learn a lot when I talk to Brett, and this episode is no exception. Special Guest: Brett Cannon. Sponsored By:
Links:
| |||
05 Jul 2018 | 43: Kelsey Hightower - End to End & Integration Testing | 00:41:48 | |
I first heard Kelsey speak during his 2017 PyCon keynote. We discuss testing, of course, but we take it further and discuss:
Special Guest: Kelsey Hightower. Sponsored By:
| |||
03 Jun 2024 | 221: How to get pytest to import your code under test | 00:07:19 | |
We've got some code we want to test, and some tests. In this episode, we discuss two options:
Learn pytest
| |||
31 Mar 2021 | 149: I don't test my code, "crappy Python" is all I write - Corey Quinn | 00:49:36 | |
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:
This diagram is referenced in the show, the Last Week In AWS Newsletter Production Pipeline. Special Guest: Corey Quinn. Sponsored By:
Links: | |||
19 Nov 2020 | 138: Mutation Testing in Python with mutmut - Anders Hovmöller | 00:29:59 | |
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 for mutation testing in Python, and can be used with pytest, unittest, and others. In this episode, Anders explains mutation testing, how mutation testing with mutmut works, and good workflows. Special Guest: Anders Hovmöller. Sponsored By:
Links: | |||
17 Dec 2021 | Why NOT unittest? | 00:23:31 | |
In the preface of "Python Testing with pytest" I list some reasons to use pytest, under a section called "why pytest?". Someone asked me recently, a different but related question "why NOT unittest?". unittest is an xUnit style framework. For me, xUnit style frameworks are fatally flawed for software testing. That's what this episode is about, my opinion of
Links: | |||
25 Oct 2018 | 50: Flaky Tests and How to Deal with Them | 00:32:21 | |
Anthony Shaw joins Brian to discuss flaky tests and flaky test suites.
Special Guest: Anthony Shaw. Sponsored By: Links:
| |||
20 Jul 2021 | 161: Waste in Software Development | 00:18:50 | |
Software development processes create value, and have waste, in the Lean sense of the word waste. 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? 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:
| |||
07 Feb 2019 | 64: Practicing Programming to increase your value | 00:21:37 | |
I want you to get the most out of being a software developer, or test engineer, or whatever you do that makes this podcast relevant to your life. By "get the most" I mean:
I want you to start (or continue) studying and practicing your skills. But not just random practice, I've got a strategy to help you focus what to study. Why am I talking about this now? Here's some background on how I re-learned how to have fun with code refactoring through code challenges. I'm going to write up the whole list as a blog post, which I'll share first with my Patreon Supporters, second with my email list and slack channel and then as an actual post somewhere. Sponsored By:
Links:
| |||
20 Aug 2019 | 84: CircuitPython - Scott Shawcroft | 00:35:52 | |
Adafruit enables beginners to make amazing hardware/software projects. The combination of Python's ease of use and Adafruit's super cool hardware and a focus on a successful beginner experience makes learning to write code that controls hardware super fun. In this episode, Scott Shawcroft, the project lead, talks about the past, present, and future of CircuitPython, and discusses the focus on the beginner. We also discuss contributing to the project, testing CircuitPython, and many of the cool projects and hardware boards that can use CircuitPython, and Blinka, a library to allow you to use "CircuitPython APIs for non-CircuitPython versions of Python such as CPython on Linux and MicroPython," including Raspberry Pi. Special Guest: Scott Shawcroft. Sponsored By:
Links: | |||
02 Sep 2018 | 46: Testing Hard To Test Applications - Anthony Shaw | 00:42:46 | |
How do you write tests for things that aren’t that easy to write tests for? That question is a possibly terrible summary of a question sent to me by a listener. And to help me start answering that question, I asked a friend of mine to help, Antony Shaw. Of course, different types of applications have different test strategies, so there’s not a universal answer. But I know some of you out there have experience and expertise around how to tackle this problem. Listen to the discussion Anthony and I have about it, and let me know if you have some techniques or tips to add. Special Guest: Anthony Shaw. Sponsored By: | |||
22 Dec 2021 | pseudo-TDD - Paul Ganssle | 00:39:25 | |
In this episode, I talk with Paul Ganssle about a fun workflow that he calls pseudo-TDD. Some strict forms of TDD include something like this:
In reality, at least for me, the software development process is way more messy than this, and not so smooth and linear. Pauls workflow allow you to develop non-linearly, but commit cleanly. Links: | |||
11 Nov 2021 | Service and Microservice Performance Monitoring - Omri Sass | 00:30:15 | |
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. Special Guest: Omri Sass. | |||
13 May 2022 | Teaching Web Development, including Front End Testing | 00:39:49 | |
When you are teaching someone web development skills, when is the right time to start teaching code quality and testing practices? Karl Stolley believes it's never too early. Let's hear how he incorporates code quality in his courses. Our discussion includes:
Karl is also writing a book on WebRTC, so we jump into that a bit too. Links: | |||
25 Jan 2021 | 142: MongoDB - Mark Smith | 00:35:07 | |
MongoDB is possibly the most recognizable NoSQL document database. Special Guest: Mark Smith. Sponsored By:
Links: | |||
28 Sep 2018 | 47: Automation Panda - Andy Knight | 00:39:01 | |
Interview with Andy Knight, the Automation Panda.
Special Guest: Andy Knight. Sponsored By:
Links: | |||
13 Sep 2020 | 130: virtualenv activation prompt consistency across shells - an open source dev and test adventure - Brian Skinn | 00:36:19 | |
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 adventure in open source collaboration, shell prompt internals, difficult test problems, and continuous integration quirks. Brian Skinn initially noticed that on Windows cmd, a space was added between a prefix defined by --prompt and the rest of the prompt, whereas on bash no space was added. For reference, there were/are three nominal virtualenv prompt modification behaviors, all of which apply to the prompt changes that are made at the time of virtualenv activation:
Special Guest: Brian Skinn. Sponsored By:
Links: | |||
24 Aug 2020 | 127: WFH, WTF? - Tips and Tricks for Working From Home - Reuven Lerner & Julian Sequeira | 00:41:44 | |
Many people have been working from home now that are not used to working from home. Julian Sequeira, of PyBites fame, has been working from home for about a year. We originally had a big list of WFH topics. But we had so much fun with the tips and tricks part, that that's pretty much the whole episode. But there's lots of great tips and tricks, so I'm glad we focused on that. Special Guests: Julian Sequeira and Reuven Lerner. Sponsored By:
Links:
| |||
01 Aug 2023 | 205: pytest autouse fixtures | 00:29:15 | |
On a recent episode of PythonBytes, I suggested it's hard to come up with good examples for pytest autouse fixtures, as there aren't very many good reasons to use them. James Falcon was kind enough to reach out and correct me. In this episode, we describe:
Learn pytest
| |||
10 Apr 2018 | 40: On Podcasting - Adam Clark | 00:48:48 | |
Adam is the host of The Gently Mad podcast, and teaches the steps in creating and growing a podcast in his course Irresistible Podcasting. He was one of the people who inspired Brian to get the Test & Code podcast started in the first place. Brian took his course in 2015. Adam is in the process of updating the course, and building a community around it. Warning: This may be an episode to listen to with headphones if you have kids around. There is swearing. I wanted to get Adam's help to convince many of you to either come on this show as a guest, or start your own podcast. We did some of that. But we also cover a lot of issues like self doubt and the importance of community. Special Guest: Adam Clark. Sponsored By:
Links:
| |||
14 Dec 2018 | REST APIs, testing with Docker containers and pytest | 00:28:10 | |
Let's say you've got a web application you need to test. Can you use Python for this testing even if the application is written in some other language? Of course. Dima Spivak is the Director of Engineering at StreamSets, and he and his team are doing just that. Special Guest: Dima Spivak. Sponsored By: Links: | |||
30 Oct 2018 | 51: Feature Testing | 00:31:36 | |
Andy Knight joins me in discussing the concept of feature testing. A feature tests is "a test verifying a service or library as the customer would use it, but within a single process." That was a quote from an article that appeared on the Twitter engineering blog. The article describes a shift away from class tests towards feature tests, the benefits of the shift, and some reactions to it. Feature tests are similar to something I used to call "functional subcutaneous integration test", but it's a way better name, and I plan to use it more often. The idea fits well with my testing philosophy. Andy Knight is someone still holding onto the testing pyramid. So I thought it would be fun to ask him to discuss feature testing with me. I think it's a balanced discussion. I hope you enjoy it and learn something. Special Guest: Andy Knight. Sponsored By:
Links: | |||
22 Nov 2021 | How and why I use pytest's xfail - Paul Ganssle | 00:38:27 | |
Paul Ganssle, is a software developer at Google, core Python dev, and open source maintainer for many projects, has some thoughts about pytest's xfail. Special Guest: Paul Ganssle. Links:
| |||
01 Aug 2017 | 30: Legacy Code - M. Scott Ford | 00:41:48 | |
M. Scott Ford is the founder and chief code whisperer at Corgibytes, a company focused on helping other companies with legacy code. Topics include:
Special Guest: M. Scott Ford. Sponsored By:
Links: | |||
27 Sep 2017 | 31: I'm so sick of the testing pyramid | 00:39:58 | |
What started as a twitter disagreement carries over into this civil discussion of software testing.
Special Guest: Paul Merrill. Sponsored By:
Links:
| |||
24 Jul 2020 | 123: GitHub Actions - Tania Allard | 00:22:54 | |
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. Some of the topics covered:
Special Guest: Tania Allard. Sponsored By:
Links:
| |||
14 May 2021 | 153: Playwright for Python: end to end testing of web apps - Ryan Howard | 00:31:30 | |
Playwright is an end to end automated testing framework for web apps with Python support and even a pytest plugin. Special Guest: Ryan Howard. Sponsored By:
Links: | |||
15 Oct 2018 | 49: tox - Oliver Bestwalter | 00:55:42 | |
tox is a simple yet powerful tool that is used by many Python projects. tox is not just a tool to help you test a Python project against multiple versions of Python. In this interview, Oliver and Brian just scratch the surface of this simple yet powerful automation tool. This is from the tox documentation: tox is a generic virtualenv management and test command line tool you can use for:
Yet tox is so much more. It can help create development environments, hold all of your admin scripts, ... I hope you enjoy this wonderful discussion of tox with Oliver Bestwalter, one of the core maintainers of tox. Special Guest: Oliver Bestwalter. Sponsored By:
Links:
| |||
13 Aug 2018 | 45: David Heinemeier Hansson - Software Development and Testing, TDD, and exploratory QA | 00:40:33 | |
David Heinemeier Hansson is the creator of Ruby on Rails, founder & CTO at Basecamp (formerly 37signals). He's a best selling author, public speaker, and even a Le Mans class winning racing driver. All of that, of course, is awesome. But that's not why I asked him on the show. In 2014, during a RailsConf keynote, he started a discussion about damage caused by TDD. This was followed by a few blog posts, and then a series of recorded hangouts with Martin Fowler and Kent Beck. This is what I wanted to talk with David about; this unconventional yet practical and intuitive view of how testing and development work together. It's a great discussion. I think you'll get a lot out of it. Special Guest: David Heinemeier Hansson. Sponsored By:
Links: | |||
20 Aug 2021 | pip install ./local_directory - Stéphane Bidoul | 00:29:40 | |
pip : "pip installs packages" or maybe "Package Installer for Python" You can also use pip to install a package in a local directory. Special Guest: Stéphane Bidoul. Links:
| |||
07 Apr 2017 | 28: Chaos Engineering & Experimentation at Netflix - Casey Rosenthal | 00:32:56 | |
Today we have an interview with Casey Rosenthal of Netflix. One of the people making sure Netflix runs smoothly is Casey Rosenthall. We talk about
Special Guest: Casey Rosenthal. Sponsored By: | |||
27 Apr 2023 | 198: Testing Django Web Applications - Carlton Gibson, Will Vincent | 01:01:25 | |
Django has some built in ways to test your application. There's also pytest-django and other plugins that help with testing. Carlton Gibson and Will Vincent from the Django Chat Podcast join the show to discuss how to get started testing your Django application. Learn pytest
| |||
07 Jun 2022 | attrs and dataclasses - Hynek Schlawack | 00:31:50 | |
In Python, before dataclasses, we had attrs. The story of attrs and dataclasses is actually intertwined. Hynek joins the show today to discuss some history of attrs and dataclasses, and some differences. If you ever need to create a custom class in Python, you should listen to this episode. Special Guest: Hynek Schlawack. Links: | |||
10 Jul 2020 | 121: Industrial 3D Printing & Python, Finite State Machines, and Simulating Hardware - Len Wanger | 00:49:22 | |
Len Wanger works on industrial 3D printers. And I was pleased to find out that In this episode we talk about:
Special Guest: Len Wanger. Sponsored By:
Links:
| |||
28 Feb 2021 | 146: Automation Tools for Web App and API Development and Maintenance - Michael Kennedy | 00:48:34 | |
Building any software, including web apps and APIs requires 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 maintenance. We talk about tools used for semi-automated exploratory testing. We talk about:
Special Guest: Michael Kennedy. Sponsored By:
Links: | |||
07 Feb 2024 | 214: Python Testing in VS Code | 00:38:25 | |
If you haven't tried running automated tests, especially with pytest, in VS Code recently, you should take another look. Links from the episode: Learn pytest
| |||
04 May 2024 | 220: Getting the most out of PyCon, including juggling - Rob Ludwick | 00:40:11 | |
PyCon US is just around the corner. I've asked Rob Ludwick to come on the show to discuss how to get the most out of your PyCon experience. There's a lot to do. A lot of activities to juggle, including actual juggling, which is where we start the conversation. Even if you never get a chance to go to PyCon, I hope this interview helps you get a feel for the welcoming aspect of the Python community. I recorded this interview as an episode for one of my other podcasts, Python People. But I think it's got some great pre-conference advice, so I'm sharing it here on Python Test as well. We talk about: "Python enables smart people to work faster" - Rob Ludwick Learn pytest
| |||
25 Apr 2020 | 110: Testing Django - from unittest to pytest - Adam Parkin | 00:24:57 | |
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, joins us to talk about migrating an existing Django project from unittest to pytest. Adam tells us just how easy this is. Special Guest: Adam Parkin. Sponsored By:
Links: | |||
13 Feb 2018 | 36: Stephanie Hurlburt - Mentoring and Open Office Hours | 00:31:22 | |
Stephanie is a co-founder and graphics engineer at Binomial. She works on Basis, an image compressor, and has customers in games, video, mapping, and any application that has lots of image data. Stephanie has also been encouraging experienced engineers to open up their twitter DMs to questions from anyone, to help mentor people not only in technical questions, but in career questions as well. She also sets aside some time to mentor people through skype when written form just doesn't cut it. That's the primary reason I have Stephanie on today, to talk about mentoring and open office hours. But we also talk about
Special Guest: Stephanie Hurlburt. Sponsored By:
Links:
| |||
08 Mar 2023 | What would you change about pytest? | 00:57:15 | |
Anthony Sottile and Brian discuss changes that would be cool for pytest, even unrealistic changes. These are changes we'd make to pytest if we didn't ahve to care about backwards compatibilty. Anthony's list:
Brian's list:
Links: | |||
05 Oct 2020 | 133: Major League Hacking - Jon Gottfried | 00:28:45 | |
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 this as part of software culture. The people at Major League Hacking have taken this to a whole new level, bringing together Tech creators who enjoy playing around with and crating new technology, on campuses, and now in virtual spaces, all over the world. Jonathon Gottfried, one of the cofounders of Major League Hacking, joins the show to talk about:
Special Guest: Jon Gottfried. Sponsored By:
Links: | |||
28 Feb 2019 | 67: Teaching Python in Middle School | 00:34:58 | |
In today's episode we talk with Kelly Paredes & Sean Tibor. I love that they include physical computing right from the start, and everything else they are doing. It's a fun interview. Special Guests: Kelly Paredes and Sean Tibor. Sponsored By:
Links: | |||
03 Dec 2018 | 55: When 100% test coverage just isn't enough - Mahmoud Hashemi | 00:34:08 | |
What happens when 100% test code coverage just isn't enough. Also covered:
Special Guest: Mahmoud Hashemi. Sponsored By: Links:
|