

Test & Code
Brian Okken
The Python Test Podcast hosted by Brian Okken
Episodes
Mentioned books

Feb 28, 2019 • 35min
67: Teaching Python in Middle School
In today's episode we talk with Kelly Paredes & Sean Tibor.
They teach Python in a middle school in Florida, and talk about this experience on the podcast "Teaching Python".
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.Links:Teaching Python

Feb 26, 2019 • 18min
66: Brian is interviewed by Phil Burgess
I was recently interviewed on a podcast called "IT Career Energizer Podcast".
Phil Burgess is the host of the podcast, and it was a lot of fun.
I think it turned out well, and I wanted to share it with you here, with Phil's permission, of course.Special Guest: Phil Burgess.Links:IT Career Energizer Podcast

Feb 17, 2019 • 20min
65: one assert per test
Is it ok to have more than one assert statement in a test?
I've seen articles that say no, you should never have more than one assert.
I've also seen some test code made almost unreadable due to trying to avoid more than one assert per test.
Where did this recommendation even come from? What are the reasons?
What are the downsides to both perspectives?
That's what we're going to talk about today.Links:Twitter survey about multiple asserts/checks — Are multiple asserts/checks ok in an automated test?Multiple Asserts Are OK - Bill Wakepytest-check: A pytest plugin that allows multiple failures per test.

Feb 7, 2019 • 22min
64: Practicing Programming to increase your value
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:
the most fun
the most value
more career options
probably more responsibility
maybe even more money, that'd be cool
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.Links:practicing-programming - Steve Yegge — essayThe Ultimate Code Kata - Jeff AtwoodTeach Yourself Programming in Ten Years - Peter NorvigPyBites Code Challenges — Hone your Python Skills, in the browserCheckiO — JavaScript & Python challengesExercism — code practiceCodewars — Train with Programming Challenges/Kata Python Morsels — Challenges emailed to you once a weeksubreddit of code challenges

Feb 1, 2019 • 34min
63: Python Corporate Training - Matt Harrison
I hear and I forget.
I see and I remember.
I do and I understand.
-- Confucius
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.Links:MetaSnake — Python Consultant and TrainingIllustrated Guide to Python 3 — A Complete Walkthrough of Beginning Python with Unique Illustrations Showing how Python Really WorksLearning the Pandas Library — Python Tools for Data Munging, Analysis, and VisualizationBeginning Python Programming — Learn Python in 7 Days

Jan 13, 2019 • 28min
62: Python Training - Reuven Lerner
There are a lot of learning styles and a lot of ways to learn Python. If you started Python through a class at work, or through an online course, or maybe an email series, it's possibly you may have learned from Reuven Lerner.
If your first encounter with pytest was reading an article in Linux Journal recently, that would be the writing of Reuven.
Reuven Lerner teaches Python.
This interview definitely falls into the category of talking with interesting people doing interesting things with Python.
We talk about how incorporating testing into teaching can add a level of clarity to the interaction and help people duirng the learning process.
I'm also fascinated by people who teach and train because it's a skill I'm trying to improve.Special Guest: Reuven Lerner.Links:Reuven's siteReuven's blogReuven's online storeReuven's newsletternewsletter for trainersWeekly Python Exercise: Newbie edition — a 10% discount code for Test & Code listeners for the late January cohort.

Dec 31, 2018 • 31min
A retrospective
A look back on 3 years of podcasting, and a bit of a look forward to what to expect in 2019.
Top 5 episodes:
2: Pytest vs Unittest vs Nose
33: Katharine Jarmul - Testing in Data Science
18: Testing in Startups and Hiring Software Engineers with Joe Stump
45: David Heinemeier Hansson - Software Development and Testing, TDD, and exploratory QA
27: Mahmoud Hashemi : unit, integration, and system testing
Honorable mention: 32: David Hussman - Agile vs Agility, Dude's Law, and more
This episode also went through lots of:
what went well
what was lacking
what's next
Please listen and let me know where I should take this podcast.

Dec 28, 2018 • 35min
100 Days of Code - Julian Sequeira
Julian Sequeira is Co-Founder of PyBit.es (a blog/platform created to teach and learn Python) and a Python Trainer at Talk Python Training.
He's also a survivor of the 100DaysOfCode in Python Challenge.
We talk about the 100 days challenge, about learning Python, and about how cool it is to learn within a community.Special Guest: Julian Sequeira.Links:PyBites BlogPyBites Code Challenges PlatformTalkPython + PyBites 100 Days of Code in Python CoursePyBites 100 Days of Code RepoPybit.es Slack Community

Dec 21, 2018 • 31min
Genesynth, nox, urllib3, & PyCascades - Thea Flowers
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.Links:Genesynth part 1: idea and researchGenesynth part 2: basic communicationGenesynth part 3: proper audio amplificationnoxurllib3PyCascades 2019thea.codes

Dec 14, 2018 • 28min
REST APIs, testing with Docker containers and pytest
Let's say you've got a web application you need to test.
It has a REST API that you want to use for testing.
Can you use Python for this testing even if the application is written in some other language? Of course.
Can you use pytest? duh. yes. what else?
What if you want to spin up docker instances, get your app running in that, and run your tests against that environment?
How would you use pytest to do that?
Well, there, I'm not exactly sure. But I know someone who does.
Dima Spivak is the Director of Engineering at StreamSets, and he and his team are doing just that.
He's also got some great advice on utilizing code reviews across teams for test code, and a whole lot more.Special Guest: Dima Spivak.Links:Introducing the StreamSets Test Frameworkpytest-benchmark · PyPIStreamSets Test Framework-based tests for StreamSets Data CollectorStreamSets: Where DevOps Meets Data Integrationslack channel for Test & Code