Test & Code cover image

209: Testing argparse Applications

Test & Code

00:00

Testing argparse Applications: Logging and Print Statements

Learn how to use logging and print statements effectively for testing argparse applications, including controlling debug information and simulating side effects. Also, explore features in argparse and click to hide flags from the help menu and capture output of print statements using capsis.

Play episode from 08:58
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app