Test & Code cover image

Test & Code

Latest episodes

undefined
Feb 25, 2024 • 39min

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.  Learn pytestpytest is the number one test framework for Python.Learn the basics super fast with Hello, pytest!Then later you can become a pytest expert with The Complete pytest CourseBoth courses are at courses.pythontest.com
undefined
7 snips
Feb 7, 2024 • 38min

214: Python Testing in VS Code

The podcast discusses the recent changes in the Python for VS Code interface for testing, with a focus on pytest. The speakers talk about the background and improvements in testing support, the integration of Python testing in VS Code, the rollout process for new features, bug fixes and user feedback, and how to stay updated on Python testing in VS Code. They emphasize the importance of relying on issue reports and user feedback to ensure the extension is working as intended.
undefined
Jan 19, 2024 • 13min

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.  Learn pytestpytest is the number one test framework for Python.Learn the basics super fast with Hello, pytest!Then later you can become a pytest expert with The Complete pytest CourseBoth courses are at courses.pythontest.com
undefined
Jan 13, 2024 • 8min

212: Canon TDD - by Kent Beck

Kent Beck, author of 'Test Driven Development by Example', discusses Canon TDD. They explore adapting TDD to individual needs and the importance of creating test lists for expected behaviors. The conversation delves into test list conversion, managing new tests, and the significance of refactoring in the testing process.
undefined
Dec 15, 2023 • 18min

211: Stamp out test dependencies with pytest plugins

This podcast discusses the challenges of test dependencies and provides strategies for debugging and resolving them. It explores the benefits of pytest plugins like 'pytest-randomly' and 'pytest-reverse', which can randomize and reverse test order. Using plugins to remove test dependencies improves efficiency and isolates fixtures. The podcast also covers the process of debugging tests and highlights the importance of reproducible test failures for enhancing project efficiency.
undefined
Nov 30, 2023 • 16min

210: TDD - Refactor while green

The podcast explores the necessity of the refactor step in Test Driven Development, including when to refactor and whether tests should be included. They discuss adding a 'done' feature to a command line application, the process of refactoring while writing tests, and the importance of writing first drafts and committing code frequently.
undefined
Nov 16, 2023 • 16min

209: Testing argparse Applications

The podcast discusses testing argparse applications, including designing for testability, using pytest and capsys for testing stdout, debugging and preview flags, and reverting to subprocess.run if unable to modify code under test. They also cover logging and print statements, testing with command line arguments and 'slex' function, and adding new requirements and testing techniques.
undefined
Oct 30, 2023 • 12min

208: Tests with no assert statements

Why on earth would you want to write a test with no assert statements?After all, aren't assert statements how you decide wether a test passes or fails?In this episode, we walk through a handful of useful examples of test code without asserts.We also talk about how these types of tests are a great way to dip your toe into testing.  Learn pytestpytest is the number one test framework for Python.Learn the basics super fast with Hello, pytest!Then later you can become a pytest expert with The Complete pytest CourseBoth courses are at courses.pythontest.com
undefined
Sep 26, 2023 • 13min

207: pytest course, pytest-repeat and pytest-flakefinder

New course: "The Complete pytest Course"pytest-repeat, which I'm starting to contribute toGive `--repeat-scope` a try. You can use it to change from repeating every test to repeating the session, module, or class.pytest-flakefinder, which is an alternative to pytest-repeatpytest-check is completely unrelated, but mentioned in the show  Learn pytestpytest is the number one test framework for Python.Learn the basics super fast with Hello, pytest!Then later you can become a pytest expert with The Complete pytest CourseBoth courses are at courses.pythontest.com
undefined
Aug 23, 2023 • 20min

206: TDD in Context

TDD (Test Driven Development) started from Test First Programming, and has been around at least since the 90's. However, software tools and available CI systems have changed quite a bit since then. Maybe it's time to re-examine the assumptions, practices, processes, and principles of TDD.  At least in the context of my software engineering career, modifications to TDD, at least the version of TDD as it's frequently taught, have been necessary. This is the start of a series focused on examining TDD and related lightweight practices and processes.Links from the show:From XPTest FirstUnit TestsAcceptance TestsTest-Driven Development (wikipedia)  Learn pytestpytest is the number one test framework for Python.Learn the basics super fast with Hello, pytest!Then later you can become a pytest expert with The Complete pytest CourseBoth courses are at courses.pythontest.com

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode