Podbean logo
  • Discover
  • Podcast Features
    • Podcast Hosting

      Start your podcast with all the features you need.

    • Podbean AI Podbean AI

      AI-Enhanced Audio Quality and Content Generation.

    • Blog to Podcast

      Repurpose your blog into an engaging podcast.

    • Video to Podcast

      Convert YouTube playlists to podcasts, videos to audios.

  • Monetization
    • Ads Marketplace

      Join Ads Marketplace to earn through podcast sponsorships.

    • PodAds

      Manage your ads with dynamic ad insertion capability.

    • Apple Podcasts Subscriptions Integration

      Monetize with Apple Podcasts Subscriptions via Podbean.

    • Live Streaming

      Earn rewards and recurring income from Fan Club membership.

  • Podbean App
    • Podcast Studio

      Easy-to-use audio recorder app.

    • Podcast App

      The best podcast player & podcast app.

  • Help and Support
    • Help Center

      Get the answers and support you need.

    • Podbean Academy

      Resources and guides to launch, grow, and monetize podcast.

    • Podbean Blog

      Stay updated with the latest podcasting tips and trends.

    • What’s New

      Check out our newest and recently released features!

    • Podcasting Smarter

      Podcast interviews, best practices, and helpful tips.

  • Popular Topics
    • How to Start a Podcast

      The step-by-step guide to start your own podcast.

    • How to Start a Live Podcast

      Create the best live podcast and engage your audience.

    • How to Monetize a Podcast

      Tips on making the decision to monetize your podcast.

    • How to Promote Your Podcast

      The best ways to get more eyes and ears on your podcast.

    • Podcast Advertising 101

      Everything you need to know about podcast advertising.

    • Mobile Podcast Recording Guide

      The ultimate guide to recording a podcast on your phone.

    • How to Use Group Recording

      Steps to set up and use group recording in the Podbean app.

  • All Arts Business Comedy Education
  • Fiction Government Health & Fitness History Kids & Family
  • Leisure Music News Religion & Spirituality Science
  • Society & Culture Sports Technology True Crime TV & Film
  • Live
  • How to Start a Podcast
  • How to Start a Live Podcast
  • How to Monetize a podcast
  • How to Promote Your Podcast
  • How to Use Group Recording
  • Log in
  • Start your podcast for free
  • Podcasting
    • Podcast Features
      • Podcast Hosting

        Start your podcast with all the features you need.

      • Podbean AI Podbean AI

        AI-Enhanced Audio Quality and Content Generation.

      • Blog to Podcast

        Repurpose your blog into an engaging podcast.

      • Video to Podcast

        Convert YouTube playlists to podcasts, videos to audios.

    • Monetization
      • Ads Marketplace

        Join Ads Marketplace to earn through podcast sponsorships.

      • PodAds

        Manage your ads with dynamic ad insertion capability.

      • Apple Podcasts Subscriptions Integration

        Monetize with Apple Podcasts Subscriptions via Podbean.

      • Live Streaming

        Earn rewards and recurring income from Fan Club membership.

    • Podbean App
      • Podcast Studio

        Easy-to-use audio recorder app.

      • Podcast App

        The best podcast player & podcast app.

  • Advertisers
  • Enterprise
  • Pricing
  • Resources
    • Help and Support
      • Help Center

        Get the answers and support you need.

      • Podbean Academy

        Resources and guides to launch, grow, and monetize podcast.

      • Podbean Blog

        Stay updated with the latest podcasting tips and trends.

      • What’s New

        Check out our newest and recently released features!

      • Podcasting Smarter

        Podcast interviews, best practices, and helpful tips.

    • Popular Topics
      • How to Start a Podcast

        The step-by-step guide to start your own podcast.

      • How to Start a Live Podcast

        Create the best live podcast and engage your audience.

      • How to Monetize a Podcast

        Tips on making the decision to monetize your podcast.

      • How to Promote Your Podcast

        The best ways to get more eyes and ears on your podcast.

      • Podcast Advertising 101

        Everything you need to know about podcast advertising.

      • Mobile Podcast Recording Guide

        The ultimate guide to recording a podcast on your phone.

      • How to Use Group Recording

        Steps to set up and use group recording in the Podbean app.

  • Discover
  • Log in
    Sign up free
The Real Python Podcast

The Real Python Podcast

Technology

Advice on Getting Started With Testing in Python

Advice on Getting Started With Testing in Python

2020-05-29
Download Right click and do "save link as"

Have you wanted to get started with testing in Python? Maybe you feel a little nervous about diving in deeper than just confirming your code runs. What are the tools needed and what would be the next steps to level up your Python testing? This week on the show we have Anthony Shaw to discuss his article on this subject. Anthony is a member of the Real Python team and has written several articles for the site.

We discuss getting started with built-in Python features for testing and the advantages of a tool like pytest. Anthony talks about his plug-ins for pytest, and we touch on the next level of testing involving continuous integration.

Anthony recently finished a talk for PyCon 2020 Online, titled “Why is Python Slow?” He had the idea for the talk while he was working on his upcoming book about the CPython source code.

I also want to give an update on last weeks episode with Kyle Stratis, where we discussed Kyle being let go from his job due to the pandemic. Here’s some good news, Kyle will be joining a Boston startup called Vizit, as a senior data engineer. Congratulations Kyle!

Course Spotlight: The Python print() Function: Go Beyond the Basics

This course will get you up to speed with using Python print() effectively. Prepare for a deep dive as you go through the sections. You may be surprised how much print() has to offer!

Topics:

  • 00:00:00 – Introduction
  • 00:01:46 – PyCon 2020 Online Talk - Why is Python slow?
  • 00:04:05 – CPython Internals Book
  • 00:07:08 – Attending Conferences
  • 00:09:01 – Getting Started with Testing in Python
  • 00:12:32 – Unittest
  • 00:17:16 – What does a tool like pytest add?
  • 00:19:53 – pytest plugins
  • 00:21:03 – Anthony’s pytest plugins
  • 00:21:58 – What does coverage mean?
  • 00:25:23 – Test runners
  • 00:27:12 – Testing environments with Tox
  • 00:30:50 – Real Python Video Course Spotlight
  • 00:31:49 – More on continuous integration (CI)
  • 00:37:21 – Recent changes to GitHub
  • 00:38:21 – PSF to move issue tracker to GitHub
  • 00:41:01 – DRY (Don’t Repeat Yourself)
  • 00:43:46 – Benefits of linters and code formatting
  • 00:48:00 – What is a little known part of Python?
  • 00:52:16 – What are you excited about in the world of Python?
  • 00:56:06 – What is something you thought you knew about Python, but were wrong about it?
  • 00:57:27 – Goodbye and thanks

Show links:

  • Why is Python slow?: PyCon 2020 Online Talk
  • Your Guide to the CPython Source Code: Real Python article
  • TalkPython Podcast Episode #265: Why is Python slow?
  • Getting Started With Testing in Python: Real Python article
  • pytest: helps you write better programs
  • pytest-azurepipelines: Plugin for pytest that makes it simple to work with Azure Pipelines
  • Effective Python Testing With Pytest
  • tox automation project: Command line driven CI frontend
  • GitHub Actions: Automate your workflow from idea to production
  • Continuous Integration With Python: An Introduction: Real Python article
  • Brian K Okken - Multiply your Testing Effectiveness with Parameterized Testing: PyCon 2020 Online Talk
  • Python Testing with pytest: Brian Okken - The Pragmatic Bookshelf
  • Test & Code: Python Testing for Software Engineering: Podcast
  • Python’s migration to GitHub
  • Refactoring Python Applications for Simplicity: Real Python article
  • Black: The uncompromising code formatter
  • Wily: A command-line application for tracking, reporting on complexity of Python tests and applications
  • PEP 554 – Multiple Interpreters in the Stdlib
  • Python Insider: Python core development news and information

Level up your Python skills with our expert-led courses:

  • Continuous Integration With Python
  • Test-Driven Development With pytest
  • The Python print() Function: Go Beyond the Basics

Support the podcast & join our community of Pythonistas

view more

More Episodes

Solving Problems and Saving Time in Chemistry With Python
2025-07-04
Structuring Python Scripts & Exciting Non-LLM Software Trends
2025-06-27
Scaling Python Web Applications With Kubernetes and Karpenter
2025-06-20
Starting With marimo Notebooks & Python App Config Management
2025-06-13
Rodrigo Girão Serrão: Python Training, itertools, and Idioms
2025-06-06
Python Thread Safety & Managing Projects With uv
2025-05-30
DjangoCon Europe 2025: Live Recording From Dublin
2025-05-23
Going Beyond requirements.txt With pylock.toml and PEP 751
2025-05-16
Experiments With Gen AI, Knowledge Graphs, Workflows, and Python
2025-05-09
Exploring DuckDB & Comparing Python Expressions vs Statements
2025-04-18
Learning Intermediate Python With a Deep Dive Course
2025-04-11
GUIs & TUIs: Choosing a User Interface for Your Python Project
2025-04-04
A Decade of Automating the Boring Stuff With Python
2025-03-21
Manage Projects With pyproject.toml & Explore Polars LazyFrames
2025-03-14
Eric Matthes: Maybe Don't Start With Unit Tests
2025-03-07
Deciphering Python Jargon & Compiling Python 1.0
2025-02-28
Telling Effective Stories With Your Python Visualizations
2025-02-21
Behavior-Driven vs Test-Driven Development & Using Regex in Python
2025-02-14
Charlie Marsh: Accelerating Python Tooling With Ruff and uv
2025-02-07
Testing Your Python Code Base: Unit vs. Integration
2025-01-31
  • ←
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • →
012345678910111213141516171819

Get this podcast on your
phone, FREE

Download Podbean app on App Store Download Podbean app on Google Play

Create your
podcast in
minutes

  • Full-featured podcast site
  • Unlimited storage and bandwidth
  • Comprehensive podcast stats
  • Distribute to Apple Podcasts, Spotify, and more
  • Make money with your podcast
Get started

It is Free

  • Podcast Services

    • Podcast Features
    • Pricing
    • Enterprise Solution
    • Private Podcast
    • The Podcast App
    • Live Stream
    • Audio Recorder
    • Remote Recording
    • Podbean AI
  •  
    • Create a Podcast
    • Video Podcast
    • Start Podcasting
    • Start Radio Talk Show
    • Education Podcast
    • Church Podcast
    • Nonprofit Podcast
    • Get Sermons Online
    • Free Audiobooks
  • MONETIZATION & MORE

    • Podcast Advertising
    • Dynamic Ads Insertion
    • Apple Podcasts Subscriptions
    • Switch to Podbean
    • YouTube to Podcast
    • Blog to Podcast
    • Submit Your Podcast
    • Podbean Plugins
    • Developers
  • KNOWLEDGE BASE

    • How to Start a Podcast
    • How to Start a Live Podcast
    • How to Monetize a Podcast
    • How to Promote Your Podcast
    • Mobile Podcast Recording Guide
    • How to Use Group Recording
    • Podcast Advertising 101
  • Support

    • Support Center
    • What’s New
    • Free Webinars
    • Podcast Events
    • Podbean Academy
    • Podbean Amplified Podcast
    • Badges
    • Resources
  • Podbean

    • About Us
    • Podbean Blog
    • Careers
    • Press and Media
    • Green Initiative
    • Affiliate Program
    • Contact Us
  • Privacy Policy
  • Cookie Policy
  • Terms of Use
  • Consent Preferences
  • Copyright © 2015-2025 Podbean.com