Test & Code : Python Testing for Software Engineering

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 for Software Engineering on social media

Episodes

  • 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

    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.

  • 121: Industrial 3D Printing & Python, Finite State Machines, and Simulating Hardware - Len Wanger

    July 9th, 2020  |  49 mins 21 secs
    3d printing, finite state machine, fsm, hardware

    Len Wanger works on industrial 3D printers. And I was pleased to find out that
    there's a bunch of Python in those printers as well. We talk about 3D printing as well as finite state machines and testing software and hardware.

  • 120: FastAPI & Typer - Sebastián Ramírez

    July 3rd, 2020  |  43 mins 54 secs
    cli, rest api

    Sebastián Ramírez is the developer behind FastAPI for Python REST APIs and Typer, for CLI applications. We discuss FastAPI, Typer, Swagger UI, interface design, autocompletion, and more.

  • 119: Editable Python Installs, Packaging Standardization, and pyproject.toml - Brett Cannon

    June 26th, 2020  |  36 mins 6 secs
    black, cpython, flit, packaging, pip, poetry, pyproject.toml, python, standard library, toml

    Brett and I talk about some upcoming work on Python packaging, such as:

    • editable install standardization
    • other tools using pyproject.toml for configuration
    • what should and shouldn't be in the standard library
    • and a few tangents
  • 118: Code Coverage and 100% Coverage

    June 25th, 2020  |  42 mins 48 secs

    Code Coverage or Test Coverage is a way to measure what lines of code and branches in your code that are utilized during testing. Coverage tools are an important part of software engineering. But there's also lots of different opinions about using it. Should you try for 100% coverage? What code can and should you exclude? What about targets?

  • 117: Python extension for VS Code - Brett Cannon

    June 18th, 2020  |  51 mins 17 secs
    ides, pytest, python, testing, vs code

    The Python extension for VS Code is most downloaded extension for VS Code.

    Brett Cannon is the manager for the distributed development team of the Python extension for VS Code.

    In this episode, Brett and I discuss the Python extension and VS Code.