218 episodes

Practical automated testing for software engineers using Python.
Mostly. But also so much more.

Python Test Brian Okken

    • Technology
    • 5.0 • 1 Rating

Practical automated testing for software engineers using Python.
Mostly. But also so much more.

    218: Balancing test coverage with test costs - Nicole Tietz-Sokolskaya

    218: Balancing test coverage with test costs - Nicole Tietz-Sokolskaya

    Nicole is a software engineer and writer, and recently wrote about the trade-offs we make when deciding which tests to write and how much testing is enough.
    We talk about:
    Balancing schedule vs testingHow much testing is the right about of testingShould code coverage be measured and trackedGood refactoring can reduce code coverageIs it worth testing error conditions?Are rare error codes ok to just monitor?API drift and autospecMitigating riskDeciding what to test and what not to testFocus testing on key money-making features If there's a bug in this part of the code, how much business impact is there?Performance testing needs to approximately match real world workloadsCost of a service breaking vs the cost of creating, maintaining, and running testsKeeping test suites quick to minimize getting distracted
    Links:
    Too much of a good thing: the trade-off we make with tests Load testing is hard, and the tools are... not great. But why?Yet Another Rust Resource (YARR!)Goodhart's law - "When a measure becomes a target, it ceases to be a good measure"
    Sponsored by Mailtrap.io
    An Email Delivery Platform that developers love. An email-sending solution with industry-best analytics, SMTP, and email API, SDKs for major programming languages, and 24/7 human support. Try for Free at MAILTRAP.IOSponsored by PyCharm Pro
    Use code PYTEST for 20% off PyCharm Professional at jetbrains.com/pycharmNow with Full Line Code CompletionSee how easy it is to run pytest from PyCharm at pythontest.com/pycharmThe Complete pytest Course
    For the fastest way to learn pytest, go to courses.pythontest.comWhether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.

    • 28 min
    217: Podcasting / SaaS / Work Life Balance - Justin Jackson

    217: Podcasting / SaaS / Work Life Balance - Justin Jackson

    If you've ever thought about starting a podcast or a SaaS project, you'll want to listen to this episode. Justin is one of the people who motivated me to get started podcasting. He's also running a successful SaaS company, transistor.fm, which hosts this podcast.
    Topics:
    PodcastingBuilding new SaaS (software as a service) productsBalancing work, side hustle, and familyGreat places to snowboard in British ColumbiaBTW. This episode was recorded last summer before I switched to transistor.fm.I'm now on Transistor for most of a year now, and I love it.
    Links from the show:
    Transistor.fm - excellent podcast hosting, Justin is a co-founderHow to start a podcast in 2024Podcasts from JustinBuild your SaaS - currentBuild & Launch - an older one, but greatMegaMaker - from 2021 / 2022
    Sponsored by Mailtrap.io
    An Email Delivery Platform that developers love. An email-sending solution with industry-best analytics, SMTP, and email API, SDKs for major programming languages, and 24/7 human support. Try for Free at MAILTRAP.IOSponsored by PyCharm Pro
    Use code PYTEST for 20% off PyCharm Professional at jetbrains.com/pycharmNow with Full Line Code CompletionSee how easy it is to run pytest from PyCharm at pythontest.com/pycharmThe Complete pytest Course
    For the fastest way to learn pytest, go to courses.pythontest.comWhether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.

    • 57 min
    216: ruff, uv, and Astral: Python tooling, much faster, with Rust

    216: ruff, uv, and Astral: Python tooling, much faster, with Rust

    Charlie Marsh and team are using Rust to make Python tooling faster.
    Ruff can take the place of Flake8, isort, and Black, and so much more.uv can take the place of pip, pip-tools, and virtualenvAstral is Charlie's venture backed company, and what they have with `ruff` and `uv` is just the start.Since uv is the newest tool, there's quite a bit of the discussion diving into uv.
    Links:
    ruffAstraluv
    Sponsored by PyCharm Pro
    Use code PYTEST for 20% off PyCharm Professional at jetbrains.com/pycharmFirst 10 to sign up this month get a free month of AI AssistantSee how easy it is to run pytest from PyCharm at pythontest.com/pycharmThe Complete pytest Course
    For the fastest way to learn pytest, go to courses.pythontest.comWhether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.

    • 48 min
    215: Staying Technical as a Manager

    215: Staying Technical as a Manager

    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 PyCharm Pro
    Use code PYTEST for 20% off PyCharm Professional at jetbrains.com/pycharmFirst 10 to sign up this month get a free month of AI AssistantSee how easy it is to run pytest from PyCharm at pythontest.com/pycharmThe Complete pytest Course
    For the fastest way to learn pytest, go to courses.pythontest.comWhether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.

    • 40 min
    214: Python Testing in VS Code

    214: Python Testing in VS Code

    If you haven't tried running automated tests, especially with pytest,  in VS Code recently, you should take another look.The Python for VS Code interface for testing, especially for pytest, has changed recently. On this episode we discuss the change with the software engineer working on the pytest changes, Eleanor Boyd, and the product manager, Courtney Webster. 
    Links from the episode:
    Blog post announcing the rewrite  Code repo for questions, comments, issues etc
    The Complete pytest Course
    Level up your testing skills and save time during coding and maintenance.Check out courses.pythontest.com

    • 38 min
    213: Repeating Tests

    213: Repeating Tests

    If a test fails in a test suite, I'm going to want to re-run the test. I may even want to re-run a test, or a subset of the suite, a bunch of times.  There are a few pytest plugins that help with this:
    pytest-repeatpytest-rerunfailurespytest-flakefinderpytest-instafailWe talk about each of these in this episode.

    Sponsored by PyCharm Pro
    Use code PYTEST for 20% off PyCharm Professional at jetbrains.com/pycharmFirst 10 to sign up this month get a free month of AI AssistantSee how easy it is to run pytest from PyCharm at pythontest.com/pycharmThe Complete pytest Course
    For the fastest way to learn pytest, go to courses.pythontest.comWhether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.

    • 15 min

Customer Reviews

5.0 out of 5
1 Rating

1 Rating

Top Podcasts In Technology

Deep Questions with Cal Newport
Cal Newport
Acquired
Ben Gilbert and David Rosenthal
WSJ’s The Future of Everything
The Wall Street Journal
TED Tech
TED Tech
Apple Events (video)
Apple
Darknet Diaries
Jack Rhysider

You Might Also Like

Python Bytes
Michael Kennedy and Brian Okken
Talk Python To Me
Michael Kennedy (@mkennedy)
The Real Python Podcast
Real Python
The Changelog: Software Development, Open Source
Changelog Media
Python People
Brian Okken
Compiler
Red Hat