13 Tips for using PyTest

Julian West
Towards Data Science
9 min readNov 28, 2022

--

Photo by AltumCode on Unsplash

Unit-testing is a really important skill for software development. There are some great Python libraries to help us write and run unit-test such as Nose and Unittest. But my favourite is PyTest.

I recently read through PyTest’s documentation in more detail to learn about its features in more depth.

Here is a list of some more obscure features that I found useful and will start integrating into…

--

--