Python Test

Practical automated testing for software engineers using Python. Mostly. But also so much more.

https://podcast.pythontest.com

Eine durchschnittliche Folge dieses Podcasts dauert 32m. Bisher sind 221 Folge(n) erschienen. Alle 9 Tage erscheint eine Folge dieses Podcasts.

Gesamtlänge aller Episoden: 4 days 23 hours 47 minutes

subscribe
share






recommended podcasts


episode 209: 209: Testing argparse Applications

[transcript]


How do you test the argument parsing bit of an application that uses argparse?

This episode covers:

  • Design for Test: Structuring your app or script so it's easier to test.
  • pytest & capsys for testing stdout
  • Adding debug and preview flags for debugging and testing
  • And reverting to subprocess...


share








 November 16, 2023  16m
 
 

episode 208: 208: Tests with no assert statements

[transcript]


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.


Sponsored by PyCharm Pro

  • Use code PYTEST for 20% off PyCharm Professional at jetbrains...


share








 October 30, 2023  14m
 
 

episode 207: 207: Welcome to "Python Test", pytest course, pytest-repeat and pytest-flakefinder

[transcript]


  • Podcast name: "Test & Code" -> "Python Test"
  • Python Bytes Podcast
  • Python People Podcast
  • Python Test Podcast <- you are here
    • which is still, at least for now, at testandcode.com
  • New course: "The Complete pytest Course"
  • pytest-repeat, which I'm starting to contribute to
    • Give `--repeat-scope` a try. You can use it to change from repeating every test to repeating the session, module, or class...


share








 September 26, 2023  14m
 
 

episode 206: 206: TDD in Context

[transcript]


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


share








 August 24, 2023  19m
 
 

episode 205: 205: pytest autouse fixtures

[transcript]


On a recent episode of PythonBytes, I suggested it's hard to come up with good examples for pytest autouse fixtures, as there aren't very many good reasons to use them.  James Falcon was kind enough to reach out and correct me. 

In this episode, we describe:

  • what fixtures are
  • what autouse fixtures are
  • great reasons to use them


share








 August 1, 2023  28m
 
 

episode 204: Free Your Inner Nonfiction Writer


Learn how to write nonfiction fast and well.
Johanna Rothman joins the show to discuss writing nonfiction.

Johanna's book: Free Your Inner Nonfiction Writer


share








 July 18, 2023  37m
 
 

episode 203: Open Source at Intel


Open Source is important to Intel and has been for a very long time.

Joe Curley, vice president and general manager of software products and ecosystem, and Arun Gupta, vice president and general manager for open ecosystems, join the show to discuss open source, OneAPI, and open ecosystems at Intel.


share








 July 17, 2023  43m
 
 

episode 202: Using Towncrier to Keep a Changelog


Hynek joins the show to discuss towncrier. 

At the top of the towncrier documentation, it says "towncrier is a utility to produce useful, summarized news files (also known as changelogs) for your project."

Towncrier is used by "Twisted, pytest, pip, BuildBot, and attrs, among others."

This is the last of 3 episodes focused on keeping a CHANGELOG. 

Episode 200 kicked off the series with keepachangelog...


share








 May 31, 2023  49m
 
 

episode 201: Avoid merge conflicts on your CHANGELOG with scriv


Last week we talked about the importance of keeping a changelog.
 This week we talk with Ned Batchelder about scriv, a tool to help maintain that changelog.

Scriv "is a command-line tool for helping developers maintain useful changelogs. It manages a directory of changelog fragments. It aggregates them into entries in a CHANGELOG file."


Links:

  • nedbat/scriv: Changelog management tool


share








 May 25, 2023  35m
 
 

episode 200: Keep a CHANGELOG


A changelog is a file which contains a curated, chronologically ordered list of notable changes for each version of a project.
 This episode is about what a changelog is, with an interview with Olivier Lacan, creator of keepachangelog.com.
The next two episodes talk about some tools to help software project teams keep changelogs while avoiding merge conflicts. 

Special Guest: Olivier Lacan.

Sponsored By:

  • porkbun: A refreshingly different domain name registrar...


share








 May 19, 2023  52m