The Real Python Podcast cover image

Inheriting a Large Python Code Base & Building a GUI With Kivy

The Real Python Podcast

00:00

The Importance of Testing in Python

Test driven development is supposed to address that and that's the idea of writing the test first. The longer the function more likely, the more things it does. And if you have to write the tests first, that means you're going to have to write a lot of tests for it. But I would flip that on its head as well, right? So like, if you're inheriting a large code base that has a lot of that stuff in it, the first thing you do is write tests for It. Then once you've got that, then you can go back in and go, okay, I'm going to refactor this.

Transcript
Play full episode

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