Skip to content
Melo Podcasts Home
CategoriesLanguagesFollowing

Episode notes

Markdown reports as either text or markdown tables. Two fun plugins discussed. Links: pytest-md-report pytest-md Top pytest Plugins

Test & Code

by Brian Okken · English · Tech & Science

The Python Test Podcast hosted by Brian Okken

More from Test & Code

  1. E231 · 10 Apr 2025 · 8 min

    231: pytest-repeat - works fine on Python 3.14

    pytest-repeat is a pytest plugin that makes it easy to repeat a single test, or multiple tests, a specific number of times. works fine on Python 3.14 is tested on Python 3.9-3.14 probably works fine still on 3.7 & 3.8 This episode also discusses the attempted April Fools episode. Links: pytest-repeat The April Fools episode: Python 3.14 won't repeat with pytest-repeat

  2. E230 · 1 Apr 2025 · 4 min

    230: Python 3.14 won't repeat with pytest-repeat

    pytest-repeat is a pytest plugin that makes it easy to repeat a single test, or multiple tests, a specific number of times. Note: This was an April Fools attempt, so the statement ... "Unfortunately, it doesn't seem to work with Python 3.14, even though there is no rational reason why it shouldn't work." ... is NOT true. Listen to the NEXT episode to get an explanation Links: pytest-repeat Next episode: pytest-repeat - works fine on Python 3.14

  3. E229 · 27 Mar 2025 · 6 min

    229: pytest-html - a plugin that generates HTML reports for test results

    pytest-html has got to be one of my all time favorite plugins. pytest-html is a plugin for pytest that generates a HTML report for test results. This episode digs into some of the super coolness of pytest-html. pytest-html repo readme with screenshot enhancing reports pytest-metadata

  4. E227 · 7 Feb 2025 · 48 min

    227: Mocking in Python with unittest.mock - Michael Foord

    This episode is a replay of a 2021 interview I did with Michael Foord. We lost Michael in January, and I'd like to revisit this interview as a tribute. Michael Foord was a pivotal figure in the Python community and the creator of the mock library that's now unittest.mock. But he did so much more as well. His contributions continue to resonate within the developer community. This interview is just a small peek at his influence. In this episode Introduction to Michael Foord The Mock Library Origins Mocking and Testing Philosophy Career Path and Consulting Understanding Mocking The Power of…

  5. E226 · 31 Jan 2025 · 11 min

    226: pytest-mock : Mocking in pytest

    pytest-mock is currently the #3 pytest plugin. pytest-mock is a wrapper around unittest.mock. In this episode: Why the pytest-mock plugin is awesome What is mocking, patching, and monkey patching What, if any, is the difference between mock, fake, spy, stub. Why we might need these in testing Some history of mock in Python and how mock became unittest.mock From unittest.mock patch.object patch.object with autospec using these as context managers pytest-mock: The mocker fixture Cleanup in teardown Using mocker.patch, mocker.spy, and mocker.stub Why it's awesome and why you might want to use…

  6. E225 · 23 Jan 2025 · 12 min

    225: pytest-cov : The pytest plugin for measuring coverage

    pytest-cov is a pytest plugin that helps produce coverage reports using Coverage.py. In this episode, we'll discuss: what Coverage.py is why you should measure code coverage on both your source and test code what pytest-cov is extra features pytest-cov gives you over and above coverage.py and generally why using both is awesome Links: coverage.py pytest-cov how to set up context reports Top pytest Plugins Errata: I mentioned that Coverage has the ability to show context (which line is covered by which test) for the past year or so. However, that feature was released in Oct 2018. coverage 5.0…

  7. E238 · 15 Aug 2025 · 2 min

    238: So Long, and Thanks for All the Fish

    A farewell to a fun 10 years. Also, I should have tested it better. :) In the audio I got the numbers wrong. Doh! This is episode 238, not 237. Oh well. I'll still be around, of course, at: pythontest.com - where I write about developing software with tests pythonbytes.fm - Python news and headlines, delivered directly to your earbuds Thanks for all the fun over the last 10 years. I wish you the best.

  8. E237 · 11 Aug 2025 · 36 min

    237: FastAPI Cloud - Sebastián Ramírez

    In this episode, Brian interviews Sebastián Ramírez, creator of FastAPI, about its rapid rise in developer popularity and the launch of FastAPI Cloud. Sebastian explains how FastAPI Cloud addresses deployment challenges small teams face. He shares his transition from open-source to startup founder, focusing on simplifying deployment against the complexity of tools like Kubernetes. Links: FastAPI Cloud FastAPI SQLModel Typer OpenAPI Pydantic Sequoia Open Source Fellowship

  9. E236 · 30 Jul 2025 · 20 min

    236: Git Tips for Testing - Adam Johnson

    In this episode, host Brian Okken and guest Adam Johnson explore essential Git features, highlighted by Adam's updated book, "Boost Your Git DX." Key topics include "cherry picking" for selective commits "git stash" for managing in-progress work "git diff", and specifically its `--name-only` flag, which provides a streamlined method for developers to identify which files have changed, which can be used to determine which tests need to be run "git bisect" for efficiently pinpointing bugs. This conversation offers valuable strategies for developers at any skill level to enhance their Git…

  10. E235 · 22 Jul 2025 · 20 min

    235: pytest-django - Adam Johnson

    In this episode, special guest Adam Johnson joins the show and examines pytest-django, a popular plugin among Django developers. He highlights its advantages over the built-in unittest framework, including improved test management and debugging. Adam addresses transition challenges, evolving fixture practices, and offers tips for optimizing test performance. This episode is a concise guide for developers looking to enhance their testing strategies with pytest-django. Links: pytest-django - a plugin for pytest that provides a set of useful tools for testing Django applications and projects.

Every episode of Test & Code →

Take it with you

The Melo app keeps playing with the screen off, works in the car and on your watch, wakes you to your station, and browses the whole catalogue offline. Free, no ads, no account.

Get it on Google Play