Test & Code cover image

221: How to get pytest to import your code under test

Test & Code

00:00

Introduction

Exploring the significance of setting up code for testing purposes, focusing on proper import capabilities and the need for tests to import the code under test or its API. Discussing importing scenarios for single files, modules, directories, and installable packages, along with the structure of test and source code directories for effective testing practices.

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