Software Engineering Radio - the podcast for professional software developers cover image

Episode 516: Brian Okken on Testing in Python with pytest

Software Engineering Radio - the podcast for professional software developers

00:00

Unit Test vs Pi Test?

Uni test is the batteries included version of python. It's very different to working with pitest, which uses a base class and naming convension. With pi test you can even use unit test as a base class if you want,. But it's more of a container to hold your test coat in. The other big noticeable difference is that the assert method, so pytus just uses the built in python assert method. And then under the hood there are helper functions that tear it apart and make it so that you can see what failed.

Play episode from 02:28
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