175 episodes

Topics include automated testing, testing strategy, software engineering practices, packaging, Python, pytest, data science, TDD, continuous integration, and software methodologies.
Also anything I think helps make the daily life of a software developer more fun and rewarding.
Hosted by Brian Okken.

Test & Code in Python Brian Okken

    • Technology
    • 4.7 • 60 Ratings

Topics include automated testing, testing strategy, software engineering practices, packaging, Python, pytest, data science, TDD, continuous integration, and software methodologies.
Also anything I think helps make the daily life of a software developer more fun and rewarding.
Hosted by Brian Okken.

    Who Should Do QA?

    Who Should Do QA?

    Who should do QA?
    How does that change with different projects and teams?
    What does "doing QA" mean, anyway?


    Answering these questions are the goals of this episode.
    Sponsored By:
    Rollbar: Rollbar enables developers to proactively discover and resolve issues in their code, so they can work on continuous code improvement throughout the software development lifecycle. Learn more at [Rollbar.com](https://try.rollbar.com/testandcode/?utm_campaign=testandcode )

    PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE22Support Test & Code in Python
    Links:
    Test Automation - Who Should be Involved? | Thoughtworks

    • 13 min
    pseudo-TDD - Paul Ganssle

    pseudo-TDD - Paul Ganssle

    In this episode, I talk with Paul Ganssle about a fun workflow that he calls pseudo-TDD.
    Pseudo-TDD is a way to keep your commit history clean and your tests passing with each commit.
    This workflow includes using pytest xfail and some semi-advanced version control features.


    Some strict forms of TDD include something like this:



    write a failing test that demonstrates a lacking feature or defect
    write the source code to get the test to pass
    refactor if necessary
    repeat


    In reality, at least for me, the software development process is way more messy than this, and not so smooth and linear.


    Pauls workflow allow you to develop non-linearly, but commit cleanly.
    Special Guest: Paul Ganssle.
    Sponsored By:
    PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE22Support Test & Code in Python
    Links:
    A pseudo-TDD workflow using expected failuresepisode 171: How and why I use pytest's xfail - Paul Ganssleepisode 165: pytest xfail policy and workflowepisode 162: Flavors of TDD

    • 39 min
    Why NOT unittest?

    Why NOT unittest?

    In the preface of "Python Testing with pytest" I list some reasons to use pytest, under a section called "why pytest?". Someone asked me recently, a different but related question "why NOT unittest?".


    unittest is an xUnit style framework. For me, xUnit style frameworks are fatally flawed for software testing.


    That's what this episode is about, my opinion of



    "Why NOT unittest?", or more broadly,
    "What are the fatal flaws of xUnit?"
    Sponsored By:
    PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE22Support Test & Code in Python
    Links:
    Python Testing with pytest, Second Editionunittest docsunittest assert methodsxUnit - Wikipedia

    • 23 min
    Designing Better Software with a Prototype Mindset

    Designing Better Software with a Prototype Mindset

    A prototype is a a preliminary model of something, from which other forms are developed or copied.
    In software, we think of prototypes as early things, or a proof of concept.
    We don't often think of prototyping during daily software development or maintenance. I think we should.
    This episode is about growing better designed software with the help of a prototype mindset.
    Sponsored By:
    PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE22Support Test & Code in Python
    Links:
    Selecting a programming language can be a form of premature optimization — Brett Cannon's blog post

    • 6 min
    How and why I use pytest's xfail - Paul Ganssle

    How and why I use pytest's xfail - Paul Ganssle

    Paul Ganssle, is a software developer at Google, core Python dev, and open source maintainer for many projects, has some thoughts about pytest's xfail.
    He was an early skeptic of using xfail, and is now an proponent of the feature.
    In this episode, we talk about some open source workflows that are possible because of xfail.
    Special Guest: Paul Ganssle.
    Sponsored By:
    PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE22Support Test & Code in Python
    Links:
    How and why I use pytest's xfail — Paul's blog post mentioned in the episodeCraft Minimal Bug Reports — Matthew Rocklin's articleepisode 111: Subtests in Python with unittest and pytest - Paul Ganssleepisode 165: pytest xfail policy and workflowepisode 166: unittest expectedFailure and xfail

    • 38 min
    pytest for Data Science and Machine Learning - Prayson Daniel

    pytest for Data Science and Machine Learning - Prayson Daniel

    Prayson Daniel, a principle data scientist, discusses testing machine learning pipelines with pytest.


    Prayson is using pytest for some pretty cool stuff, including:



    unit tests, of course
    testing pipeline stages
    counterfactual testing
    performance testing


    All with pytest. So cool.
    Special Guest: Prayson Daniel.
    Sponsored By:
    PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE22Support Test & Code in Python
    Links:
    Python Bytes 250, with Prayson Daniel — Listen to this for more of an introduction to Prayson

    • 45 min

Customer Reviews

4.7 out of 5
60 Ratings

60 Ratings

50842 ,

test review

test

Hellfire0175 ,

A must listen for software testing

This podcast has directly impacted how we test our code. I learn something new each episode. Talk Python to me in conjunction with Test and Code and Python Bytes has exponentially increased my productivity and learning. Thank you!

AJ Kerrigan ,

Testing, code and more

This show provides what it says on the label: engaging discusisons about testing and code. Host Brian Okken approaches each episode with a perfect blend of passion, knowledge and humility. Great stuff!

Top Podcasts In Technology

Lex Fridman
Jason Calacanis
NPR
Jack Rhysider
Gimlet
Bloomberg Intelligence

You Might Also Like

Michael Kennedy and Brian Okken
Michael Kennedy (@mkennedy)
Real Python
Tobias Macey
Tobias Macey
Changelog Media