Test & Code : Python Testing

Because Software Engineering should include more testing

About the show

Test & Code is a weekly podcast hosted by Brian Okken.
The show covers a wide array of topics including software engineering, development, testing, Python programming, and many related topics.
When we get into the implementation specifics, that's usually Python, such as Python packaging, tox, pytest, and unittest. However, well over half of the topics are language agnostic, such as data science, DevOps, TDD, public speaking, mentoring, feature testing, NoSQL databases, end to end testing, automation, continuous integration, development methods, Selenium, the testing pyramid, and DevOps.

Test & Code : Python Testing on social media


  • 137: Become an Author - Matt Harrison interviews Brian Okken

    November 5th, 2020  |  40 mins 40 secs
    publishing, technical books, writing

    Matt Harrison, author of many Python books, is putting together a course, Effective Book Authoring, to help other people write and publish books.
    As part of this course, he's including interviews with people who have already written books.
    This is one of those, and we talk about self publishing vs working with a publisher, the process, the format, book promotion, and advice to writers.

  • 136: Wearable Technology - Sophy Wong

    October 26th, 2020  |  31 mins 44 secs
    wearable tech

    Wearable technology includes one off projects by designers, makers, and hackers and there are more and more people producing tutorials on how to get started. It's also a great way to get both kids and adults excited about coding, electronics, and in general, engineering skills.

    Sophy Wong is a designer who makes really cool stuff using code, technology, costuming, soldering, and even jewelry techniques to get tech onto the human body. Sophy joins the show to answer to answer my many questions about getting started safely with wearable tech.

  • 135: Speeding up Django Test Suites - Adam Johnson

    October 20th, 2020  |  23 mins 34 secs
    django, software testing

    All test suites start fast. But as you grow your set of tests, each test adds a little bit of time to the suite.
    What can you do about it to keep test suites fast?
    Some things, like parallelization, are applicable to many domains.
    What about, for instance, Django applications?
    Well, Adam Johnson has thought about it a lot, and is here to tell us how we can speed up our Django test suites.

  • 134: Business Outcomes and Software Development - Benjamin Harding

    October 12th, 2020  |  31 mins 49 secs
    customer value, metrics, software development

    Within software projects, there are lots of metrics we could measure. But which ones really matter. Instead of a list, Benjamin Harding shares with us a way of thinking about business outcomes that can help us with every day decision making.

  • 133: Major League Hacking - Jon Gottfried

    October 5th, 2020  |  28 mins 44 secs
    hackathon, hacking

    Hackathons have been spreading around the world; many at university campuses. Major League Hacking, MLH, has been encouraging and helping hackathons.

  • 132: mocking in Python - Anna-Lena Popkes

    September 28th, 2020  |  40 mins 49 secs
    mock, software testing

    Using mock objects during testing in Python.

  • 131: Test Smarter, Not Harder

    September 21st, 2020  |  8 mins 53 secs

    Some people avoid writing tests. Some drudge through it painfully.
    There is a better way.
    In this episode, I'm going to share some advice from Luke Plant on how to "Test Smarter, Not Harder".

  • 130: virtualenv activation prompt consistency across shells - an open source dev and test adventure - Brian Skinn

    September 13th, 2020  |  36 mins 18 secs
    continuous integration, open source, pytest, python, software testing, virtualenv

    virtualenv supports six shells: bash, csh, fish, xonsh, cmd, posh. Each handles prompts slightly differently. Although the virtualenv custom prompt behavior should be the same across shells, Brian Skinn noticed inconsistencies. He set out to fix those inconsistencies. That was the start of an adventure in open source collaboration, shell prompt internals, difficult test problems, and continuous integration quirks.

  • 129: How to Test Anything - David Lord

    September 7th, 2020  |  42 mins 8 secs

    I asked people on twitter to fill in "How do I test _____?" to find out what people want to know how to test.
    Lots of responses. David Lord agreed to answer them with me.
    In the process, we come up with lots of great general advice on how to test just about anything.

  • 128: pytest-randomly - Adam Johnson

    August 28th, 2020  |  18 mins 12 secs
    pytest, pytest plugins, pytest-randomly, python

    Software tests should be order independent. That means you should be able to run them in any order or run them in isolation and get the same result. Adam Johnson created pytest-randomly to ensure test independence.

  • 127: WFH, WTF? - Tips and Tricks for Working From Home - Reuven Lerner & Julian Sequeira

    August 24th, 2020  |  41 mins 43 secs
    wfh, working from home

    Tons of great tips and tricks for working from home. Brian, Julian, and Rueven share their experience and tips for making working from home productive and healthy.

  • 126: Data Science and Software Engineering Practices ( and Fizz Buzz ) - Joel Grus

    August 16th, 2020  |  32 mins 17 secs
    data science, fizz buzz, hypothesis, pytest, python, software engineering, software testing

    Researches and others using data science and software need to follow solid software engineering practices. This is a message that Joel Grus has been promoting for some time.

    Joel joins the show this week to talk about data science, software engineering, and even Fizz Buzz.

  • 125: pytest 6 - Anthony Sottile

    August 7th, 2020  |  1 hr 4 secs

    pytest 6 is out. Anthony Sottile joins the show to discuss features, improvements, documentation updates and more.

  • 124: pip dependency resolver changes

    August 3rd, 2020  |  44 mins 15 secs
    dependency resolver, pip, python

    pip 20.2 has a new dependency resolver that the PyPA would really like you to try out. This episode has 5 guests from the project and we talk about everything from user experience (UX) to testing a complex project.

  • 123: GitHub Actions - Tania Allard

    July 24th, 2020  |  22 mins 53 secs
    ci/cd, continuous deployment, continuous integration, github actions

    Lots of Python projects are starting to use GitHub Actions for Continous Integration & Deployment (CI/CD), as well as other workflows.

    Tania Allard, a Senior Cloud Developer Advocate at Microsoft, joins the show to answer some of my questions regarding setting up a Python project to use Actions.

  • 122: Better Resumes for Software Engineers - Randall Kanna

    July 16th, 2020  |  36 mins 12 secs
    career, resume

    A great resume is key to landing an great software job.
    There's no surprise there.
    But so many people make mistakes on their resume that can very easily be fixed.

    Randall Kenna is on the show today to help us understand how to improve our resumes, and in turn,
    help us have better careers.