
Test & Code
Brian Okken
2 Listeners
All episodes
Best episodes
Seasons
Top 10 Test & Code Episodes
Goodpods has curated a list of the 10 best Test & Code episodes, ranked by the number of listens and likes each episode have garnered from our listeners. If you are listening to Test & Code for the first time, there's no better place to start than with one of these standout episodes. If you are a fan of the show, vote for your favorite Test & Code episode by adding your comments to the episode page.

181: Boost Your Django DX - Adam Johnson
Test & Code
03/01/22 • 27 min
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.
One of the things I love about this book is that it's not just for Django devs.
I'd guess that about half the book is about topics that all Python developers would find useful, from virtual environments to linters to testing.
But of course, also tons of tips and tools for working with Django.
Links:
- “Boost Your Django DX” Released — Adam's announcement
- Boost Your Django DX — The book
Sponsored by:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.
2 Listeners

183: Managing Software Teams - Ryan Cheley
Test & Code
03/17/22 • 48 min
Ryan Cheley joins me today to talk about some challenges of managing software teams, and how to handle them.
We end up talking about a lot of skills that are excellent for software engineers as well as managers.
Some topics discussed:
- handling code reviews
- asking good questions
- being honest about what you can't do with current resources and data
- discussing tradeoffs and offering solutions that can be completed faster than the ideal solution
- balancing engineering and managing
- making sure documentation happens
- remote teams
- encouraging collaboration
- encouraging non-work-related conversations
- watching out for overworking
Sponsored by:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.
1 Listener

215: Staying Technical as a Manager
Test & Code
02/25/24 • 40 min
Software engineers that move into leadership roles have a struggle between learning leadership skills, maintaining technical skills, and learning new leadership and technical skills.
Matt Makai went from individual contributor to developer relations to leadership in devrel.
We discuss how to stay technical, as well as dive into some results of his studies in how companies use developer relationship channels.
Sponsored by:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.
1 Listener

141: Visual Testing - Angie Jones
Test & Code
12/30/20 • 30 min
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:
- problems with pixel to pixel testing
- DOM comparisons, css, html, etc.
- AI driven picture level testing, where failures look into the DOM to help describe the problem.
- Where visual testing fits into a test strategy.
- Combining "does this look right" visual testing with other test workflows.
- "A picture is worth a thousand assertions" - functional assertions built into visual testing.
- Baselining pictures in the test workflow.
Also discussed:
- automation engineer
- Test Automation University
Links:
Sponsored by:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.

02/28/21 • 48 min
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 maintenance.
We talk about tools used for semi-automated exploratory testing.
We also talk about some of the other tools and techniques he uses to keep Talk Python Training, Talk Python, and Python Bytes all up and running smoothly.
We talk about:
- Postman
- ngrok
- sitemap link testing
- scripts for manual processes
- using failover servers during maintenance, redeployments, etc
- gitHub webhooks and scripts to between fail over servers and production during deployments automatically
- floating IP addresses
- services to monitor your site: StatusCake, BetterUptime
- the affect of monitoring on analytics
- crash reporting: Rollbar, Sentry
- response times
- load testing: Locus
Links:
- Python Bytes Podcast
- Talk Python To Me Podcast
- Talk Python Training
- Postman
- ngrok
- StatusCake
- Better Uptime
- Rollbar
- Sentry
- Locust
- 12 requests per second in Python
Sponsored by:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.

148: Coverage.py and testing packages
Test & Code
03/12/21 • 13 min
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.
Links:
- episode 147: Testing Single File Python Applications/Scripts with pytest and coverage
- Specifying source files — Coverage.py documentation
- Testing & Packaging - Hynek
- ack
Sponsored by:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.

03/06/21 • 11 min
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 the file. Can I do that with pytest?
- If I can, can I use code coverage on it?
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:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.

05/14/21 • 31 min
Playwright is an end to end automated testing framework for web apps with Python support and even a pytest plugin.
Links:
Sponsored by:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.

05/21/21 • 30 min
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.
Links:
- "🤔 In ~12 years, I have never seen a case where mocking a database was a good idea. ..."
- Django News
- Moto
- Test & Code 103: Django - Lacey Williams Henschel
- Model Bakery: Smart fixtures for better tests
- Faker
Sponsored by:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.

150: A Practical Testing Strategy
Test & Code
04/15/21 • 10 min
Coming up with a testing strategy doesn't have to be stressful. Prioritizing features to test, and generating test cases for each feature can be fairly quick and painless. This episode covers a strategy for both that can be applied to many types of software.
Sponsored by:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.
Show more best episodes

Show more best episodes
FAQ
How many episodes does Test & Code have?
Test & Code currently has 233 episodes available.
What topics does Test & Code cover?
The podcast is about How To, Software, Podcasts, Technology, Education, Python and Programming.
What is the most popular episode on Test & Code?
The episode title '181: Boost Your Django DX - Adam Johnson' is the most popular.
What is the average episode length on Test & Code?
The average episode length on Test & Code is 32 minutes.
How often are episodes of Test & Code released?
Episodes of Test & Code are typically released every 9 days, 10 hours.
When was the first episode of Test & Code?
The first episode of Test & Code was released on Aug 20, 2015.
Show more FAQ

Show more FAQ