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

  • 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.

  • 116: 15 amazing pytest plugins - Michael Kennedy

    June 7th, 2020  |  51 mins 27 secs
    plugins, pytest, software testing

    pytest plugins are an amazing way to supercharge your test suites, leveraging great solutions from people solving test problems all over the world. In this episode Michael and I discuss 15 favorite plugins that you should know about.

  • 115: Catching up with Nina Zakharenko

    May 30th, 2020  |  42 mins 21 secs
    adafruit, circuitpython, live coding, oh my zsh, online conferences, python, twitch, wfh

    Nina's been up to a lot lately, so we talk about quite a bit, including live coding on twitch.tv, online conferences, Python Tea (a new online version of the hallway track), Python on hardware, Adafruit, CircuitPython, tricking out your command prompt, working from home, and more.

  • 114: The Python Software Foundation (PSF) Board Elections - Ewa Jodlowska / Christopher Neugebauer

    May 24th, 2020  |  30 mins 45 secs
    psf, python software foundation

    Ewa Jodlowska, the Python Software Foundation Executive Director, and Christopher Neugebauer, a current board member, discuss what the PSF is and does, what board directors do, and how you can be part of the exciting mission of the PSF.

  • 113: Technical Debt - James Smith

    May 15th, 2020  |  30 mins 2 secs
    technical debt

    Technical debt has to be dealt with on a regular basis to have a healthy product and development team. The impacts include emotional drain on engineers and slowing down development and can adversely affect your hiring ability and retention. But really, what is technical debt? Can we measure it? How do we reduce it, and when?

  • 112: Six Principles of Readable Tests - David Seddon

    May 8th, 2020  |  45 mins 2 secs
    software testing

    "Code is read much more often than it is written." - Guido van Rossum
    This is true for both production code and test code.
    David Seddon came up with 6 principles to help us write more readable tests.
    We discuss these, as well as more benefits of readable tests.

  • 111: Subtests in Python with unittest and pytest - Paul Ganssle

    May 2nd, 2020  |  48 mins 34 secs
    pytest, python, software testing, subtest, unittest

    Subtests are a way to continue a test function after an assert fails.
    Paul Ganssle and Brian Okken discuss what subtests are, why you might want them, and what to watch out for if you use them.

  • 110: Testing Django - from unittest to pytest - Adam Parkin

    April 25th, 2020  |  24 mins 56 secs
    django, pytest, software testing, unittest

    Django supports testing out of the box with some cool extensions to unittest. However, many people are using pytest for their Django testing, mostly using the pytest-django plugin.

    Adam Parkin, who is known online as CodependentCodr, joins us to talk about migrating an existing Django project from unittest to pytest. Adam tells us just how easy this is.

  • 109: Testing in Financial Services - Eric Bergemann

    April 14th, 2020  |  29 mins 34 secs
    cd, ci, devops, financial services, tdd, testing

    Financial services have their own unique testing development challenges. But they also have lots of the same challenges as many other software projects. Eric Bergemann from Paragon discusses testing, DevOps, CI, and lots of other great testing and development topics.

  • 108: PySpark - Jonathan Rioux

    April 9th, 2020  |  32 mins 1 sec
    data processing, data science, pyspark, python

    Apache Spark is a unified analytics engine for large-scale data processing.
    PySpark blends the powerful Spark big data processing engine with the Python programming language to provide a data analysis platform that can scale up for nearly any task.

  • 107: Property Based Testing in Python with Hypothesis - Alexander Hultnér

    March 27th, 2020  |  36 mins 18 secs
    hypothesis, property based testing, python

    Hypothesis is the Python tool used for property based testing.
    Hypothesis claims to combine "human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests."
    Alexander Hultnér introduces us to property based testing in Python with Hypothesis.

  • 106: Visual Testing : How IDEs can make software testing easier - Paul Everitt

    March 20th, 2020  |  49 mins 58 secs
    pycharm, pytest, software testing

    IDEs can help people with automated testing.

    In this episode, Paul Everitt and Brian discuss ways IDEs can encourage testing and make it easier for everyone, including beginners. We discuss features that exist and are great, as well as what is missing.

    The conversation also includes topics around being welcoming to new contributors for both open source and professional projects.

  • 105: TAP: Test Anything Protocol - Matt Layman

    March 11th, 2020  |  30 mins 13 secs
    pytest, software testing, tap

    The Test Anything Protocol, or TAP, is a way to record test results in a language agnostic way, predates XML by about 10 years, and is still alive and kicking. Matt is the maintainer of tap.py and pytest-tap, two tools that bring the Test Anything Protocol to Python. In this episode, Matt and I discuss TAP, it's history, his involvement, and some cool use cases for it.