Test & Code cover image

209: Testing argparse Applications

Test & Code

00:00

Testing with Command Line Arguments and 'slex' Function

This chapter explores the testing of applications with command line arguments, including the use of 'slex' function to split strings and 'subprocess.run' for testing unmodifiable applications. It also highlights the example of a 'hello world' code without the need for argparse.

Play episode from 11:20
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